File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -48,25 +48,22 @@ jobs:
48
48
- name : If Python is 3.7 install dependencies in conda base environment
49
49
if : ${{ matrix.python-version == '3.7' }}
50
50
run : |
51
- source activate base
52
- python -m pip install --upgrade pip
53
- pip install pytest pytest-cov pytest-xdist
51
+ conda run -n base python -m pip install --upgrade pip
52
+ conda run -n base pip install pytest pytest-cov pytest-xdist
54
53
shell : bash
55
54
- name : If Python is 3.7 install package in conda base environment
56
55
if : ${{ matrix.python-version == '3.7' }}
57
56
run : |
58
- source activate base
59
- pip install --upgrade pip
60
- pip install --upgrade setuptools
61
- pip install -e .
62
- pip freeze
57
+ conda run -n base pip install --upgrade pip
58
+ conda run -n base pip install --upgrade setuptools
59
+ conda run -n base pip install -e .
60
+ conda run -n base pip freeze
63
61
shell : bash
64
62
- name : If Python is 3.7 test with pytest and coverage Linux 8 threads in conda base environment
65
63
if : ${{ matrix.python-version == '3.7' }}
66
64
run : |
67
- source activate base
68
65
echo -e '[run]\nomit = *dihedrals.py,*contact_matrix.py' > .coveragerc
69
- pytest -n 8 -vs --cov=./ --cov-report=xml --disable-warnings --cov-config=.coveragerc
66
+ conda run -n base " pytest -n 8 -vs --cov=./ --cov-report=xml --disable-warnings --cov-config=.coveragerc"
70
67
shell : bash
71
68
# ### End Python 3.7 block
72
69
- name : If Python != 3.7 install dependencies normally
You can’t perform that action at this time.
0 commit comments