diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 393a1ee7..504ba7ac 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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] @@ -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