File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -22,24 +22,29 @@ jobs:
22
22
- uses : conda-incubator/setup-miniconda@v2
23
23
with :
24
24
activate-environment : build
25
+ environment-file : ./environment.yml
26
+ python-version : 3
25
27
auto-update-conda : true
26
28
27
29
- name : install requirements
28
30
run : |
29
- conda create -n test python=3.12 --quiet --yes
30
- conda activate test
31
- conda install -n build -c conda-forge --file requirements/build.txt --file requirements/run.txt --file requirements/test.txt --file requirements/docs.txt --quiet --yes
32
-
33
- - name : install the package
34
- run : python -m pip install . --no-deps
31
+ conda config --set always_yes yes --set changeps1 no
32
+ conda config --add channels conda-forge
33
+ conda create -n build python=3.12
34
+ conda activate build
35
+ conda install --file requirements/build.txt
36
+ conda install --file requirements/run.txt
37
+ conda install --file requirements/test.txt
38
+ conda install --file requirements/docs.txt
39
+ python -m pip install . --no-deps
35
40
36
41
- name : build documents
37
42
run : make -C doc html
38
43
39
44
- name : Run tests and upload coverage
40
45
shell : bash -l {0}
41
46
run : |
42
- conda activate test
47
+ conda activate build
43
48
coverage run -m pytest -vv -s
44
49
coverage report -m
45
50
codecov
You can’t perform that action at this time.
0 commit comments