Skip to content

Commit

Permalink
Add optional testing requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
ronald-jaepel committed Mar 22, 2024
1 parent 0413610 commit 92c88a6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,20 @@ jobs:

- name: Test Wheel install and import
run: |
mamba create -n testing python==${{ matrix.python-version }}
mamba activate testing
pip install wheel
which pip
which mamba
python setup.py bdist_wheel
cd dist
pip install CADET_Python*.whl
python -c "import cadet; print(cadet.__version__)"
cd ..
- name: Test with pytest
run: |
pip install .[testing]
mamba install cadet
which cadet-cli
mamba install cadet -c conda-forge
mamba list
which cadet-cli
pytest tests --rootdir=tests -m "not slow"

0 comments on commit 92c88a6

Please sign in to comment.