Skip to content

Commit

Permalink
Merge pull request #220 from fooof-tools/gha-doctest
Browse files Browse the repository at this point in the history
[MNT] - Add doctest testing to Github Actions
  • Loading branch information
TomDonoghue authored Oct 8, 2021
2 parents 663aafb + 90e2a6f commit a465205
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
build:

runs-on: ubuntu-latest
env:
MODULE_NAME: fooof
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
Expand All @@ -32,5 +34,8 @@ jobs:
- name: Test with pytest
run: |
pytest --cov=./
- name: Run doctests
run: |
pytest --doctest-modules --ignore=$MODULE_NAME/tests $MODULE_NAME
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1

0 comments on commit a465205

Please sign in to comment.