Skip to content

Commit

Permalink
run doctests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
navidcy committed Feb 19, 2024
1 parent 4212da3 commit 06b05e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ jobs:
- name: Test with pytest
run: |
if [[ "${{ matrix.python-version }}" == "3.10" ]]; then
python -m pytest --cov=regional_mom6 --cov-report=xml tests/
python -m pytest --doctest-modules --cov=regional_mom6 --cov-report=xml tests/ regional_mom6/
else
python -m pytest tests/
python -m pytest --doctest-modules tests/ regional_mom6/
fi
- name: Test the example notebook
run: |
Expand Down

0 comments on commit 06b05e5

Please sign in to comment.