File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -48,14 +48,14 @@ 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
57
+ conda init
58
+ conda activate base
59
59
pip install --upgrade pip
60
60
pip install --upgrade setuptools
61
61
pip install -e .
64
64
- name : If Python is 3.7 test with pytest and coverage Linux 8 threads in conda base environment
65
65
if : ${{ matrix.python-version == '3.7' }}
66
66
run : |
67
- source activate base
67
+ conda init
68
+ conda activate base
68
69
echo -e '[run]\nomit = *dihedrals.py,*contact_matrix.py' > .coveragerc
69
70
pytest -n 8 -vs --cov=./ --cov-report=xml --disable-warnings --cov-config=.coveragerc
70
71
shell : bash
You can’t perform that action at this time.
0 commit comments