Skip to content

Commit

Permalink
Moved notebooks testing only to Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoTrizio committed May 29, 2023
1 parent f43fdb4 commit 959f5ae
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,17 @@ jobs:
pytest -v --cov=mlcolvar --cov-report=xml --color=yes mlcolvar/tests/
pytest -v --nbmake docs/notebooks/ --ignore=docs/notebooks/tutorials/data/ --cov=mlcolvar --cov-append --cov-report=xml --color=yes
cat ./coverage.xml
- name: Run notebook tests
# conda setup requires this special shell
shell: bash -l {0}
if: contains( matrix.os, 'ubuntu' )
run: |
pytest -v --nbmake docs/notebooks/ --ignore=docs/notebooks/tutorials/data/ --cov=mlcolvar --cov-append --cov-report=xml --color=yes
- name: CodeCov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
flags: unittests
flags: codecov
name: codecov-${{ matrix.os }}-py${{ matrix.python-version }}

0 comments on commit 959f5ae

Please sign in to comment.