Skip to content

Commit 3f7074e

Browse files
committed
GitHub actions tests initial commit
1 parent 0ee7938 commit 3f7074e

File tree

2 files changed

+84
-0
lines changed

2 files changed

+84
-0
lines changed

.github/workflows/tests.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: pytest
2+
3+
on:
4+
pull_request:
5+
6+
workflow_dispatch:
7+
8+
jobs:
9+
tests:
10+
runs-on: ubuntu-latest
11+
defaults:
12+
run:
13+
shell: bash -l {0}
14+
steps:
15+
- uses: actions/checkout@v3
16+
- uses: conda-incubator/setup-miniconda@v2
17+
with:
18+
activate-environment: entropy-pooling-dev
19+
environment-file: requirements.yml
20+
- run: pytest --cov=entropy_pooling --cov-fail-under=100 --cov-report=xml
21+
- uses: codecov/codecov-action@v3

requirements.yml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: entropy-pooling-dev
2+
channels:
3+
- conda-forge
4+
- defaults
5+
dependencies:
6+
- _libgcc_mutex=0.1=conda_forge
7+
- _openmp_mutex=4.5=2_gnu
8+
- bzip2=1.0.8=hd590300_5
9+
- ca-certificates=2023.11.17=hbcca054_0
10+
- colorama=0.4.6=pyhd8ed1ab_0
11+
- coverage=7.4.0=py312h98912ed_0
12+
- exceptiongroup=1.2.0=pyhd8ed1ab_0
13+
- iniconfig=2.0.0=pyhd8ed1ab_0
14+
- ld_impl_linux-64=2.40=h41732ed_0
15+
- libblas=3.9.0=20_linux64_openblas
16+
- libcblas=3.9.0=20_linux64_openblas
17+
- libexpat=2.5.0=hcb278e6_1
18+
- libffi=3.4.2=h7f98852_5
19+
- libgcc-ng=13.2.0=h807b86a_3
20+
- libgfortran-ng=13.2.0=h69a702a_3
21+
- libgfortran5=13.2.0=ha4646dd_3
22+
- libgomp=13.2.0=h807b86a_3
23+
- liblapack=3.9.0=20_linux64_openblas
24+
- libnsl=2.0.1=hd590300_0
25+
- libopenblas=0.3.25=pthreads_h413a1c8_0
26+
- libsqlite=3.44.2=h2797004_0
27+
- libstdcxx-ng=13.2.0=h7e041cc_3
28+
- libuuid=2.38.1=h0b41bf4_0
29+
- libxcrypt=4.4.36=hd590300_1
30+
- libzlib=1.2.13=hd590300_5
31+
- ncurses=6.4=h59595ed_2
32+
- numpy=1.26.3=py312heda63a1_0
33+
- openssl=3.2.0=hd590300_1
34+
- packaging=23.2=pyhd8ed1ab_0
35+
- pip=23.3.2=pyhd8ed1ab_0
36+
- pluggy=1.3.0=pyhd8ed1ab_0
37+
- pytest=7.4.4=pyhd8ed1ab_0
38+
- pytest-cov=4.1.0=pyhd8ed1ab_0
39+
- python=3.12.1=hab00c5b_1_cpython
40+
- python_abi=3.12=4_cp312
41+
- readline=8.2=h8228510_1
42+
- scipy=1.11.4=py312heda63a1_0
43+
- setuptools=69.0.3=pyhd8ed1ab_0
44+
- tk=8.6.13=noxft_h4845f30_101
45+
- toml=0.10.2=pyhd8ed1ab_0
46+
- tomli=2.0.1=pyhd8ed1ab_0
47+
- wheel=0.42.0=pyhd8ed1ab_0
48+
- xz=5.2.6=h166bdaf_0
49+
- pip:
50+
- contourpy==1.2.0
51+
- cvxopt==1.3.2
52+
- cycler==0.12.1
53+
- fonttools==4.47.0
54+
- fortitudo-tech==1.0.2
55+
- kiwisolver==1.4.5
56+
- matplotlib==3.8.2
57+
- pandas==2.1.4
58+
- pillow==10.2.0
59+
- pyparsing==3.1.1
60+
- python-dateutil==2.8.2
61+
- pytz==2023.3.post1
62+
- six==1.16.0
63+
- tzdata==2023.4

0 commit comments

Comments
 (0)