Skip to content

Commit

Permalink
Add doctest to matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed May 31, 2022
1 parent 784a631 commit 685ad1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Expand Up @@ -21,6 +21,7 @@ jobs:
- { tox-env: py, python-version: "3.9", os: "ubuntu-latest" }
- { tox-env: py, python-version: "3.10", os: "ubuntu-latest" }
- { tox-env: py, python-version: "3.10", os: "ubuntu-latest", external: true }
- { tox-env: py, python-version: "3.10", os: "ubuntu-latest", doctest: true }
- { tox-env: lint, python-version: "3.8", os: "ubuntu-latest" }

steps:
Expand Down Expand Up @@ -55,7 +56,7 @@ jobs:
- name: Run tox
run: |
poetry run tox -e ${{ matrix.tox-env }} -- ${{ matrix.external && ' -m "external"' || '' }}
poetry run tox -e ${{ matrix.tox-env }} --${{ matrix.external && ' -m "external"' || '' }}${{ matrix.doctest && ' --doctest-modules singer_sdk' }}
- name: Upload coverage data
if: always() && (matrix.tox-env == 'py')
Expand Down

0 comments on commit 685ad1f

Please sign in to comment.