Skip to content

Commit 4a7aad8

Browse files
authored
drop conda in the test workflow (#313)
1 parent 7690038 commit 4a7aad8

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,15 @@ jobs:
1515
- uses: actions/checkout@v2
1616
# set up conda
1717
- name: Set up Python ${{ matrix.python-version }}
18-
uses: conda-incubator/setup-miniconda@v2
18+
uses: actions/setup-python@v4
1919
with:
20-
auto-activate-base: true
21-
activate-environment: ""
20+
python-version: ${{ matrix.python-version }}
2221
# install rdkit and openbabel
2322
- name: Install rdkit
24-
run: conda create -c conda-forge -n my-rdkit-env python=${{ matrix.python-version }} rdkit openbabel;
23+
run: python -m pip install rdkit openbabel-wheel
2524
- name: Install dependencies
26-
run: source $CONDA/bin/activate my-rdkit-env && pip install .[amber,ase,pymatgen] coverage codecov
25+
run: python -m pip install .[amber,ase,pymatgen] coverage codecov
2726
- name: Test
28-
run: source $CONDA/bin/activate my-rdkit-env && cd tests && coverage run --source=../dpdata -m unittest && cd .. && coverage combine tests/.coverage && coverage report
27+
run: cd tests && coverage run --source=../dpdata -m unittest && cd .. && coverage combine tests/.coverage && coverage report
2928
- name: Run codecov
30-
run: source $CONDA/bin/activate my-rdkit-env && codecov
29+
run: codecov

0 commit comments

Comments
 (0)