Skip to content

Commit

Permalink
move doctests to the end
Browse files Browse the repository at this point in the history
  • Loading branch information
paleolimbot committed Sep 7, 2023
1 parent 137e7f7 commit c6a8784
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,6 @@ jobs:
run: |
pytest python/geoarrow-c/tests -v -s
- name: Run doctests
if: success() && matrix.python-version == '3.10'
run: |
# Because of namespace packaging we have to add this here and
# rebuild to avoid confusig pytest
pip install .
touch python/geoarrow-c/src/geoarrow/__init__.py
pytest --pyargs geoarrow.c --doctest-modules
# No Cython docs yet
# pip install pytest-cython
# pytest --pyargs geoarrow --doctest-cython
- name: Coverage
if: success() && matrix.python-version == '3.10'
run: |
Expand Down Expand Up @@ -85,3 +73,15 @@ jobs:
uses: codecov/codecov-action@v2
with:
files: 'python/geoarrow-coverage.info,python/geoarrow-c/coverage.xml'

- name: Run doctests
if: success() && matrix.python-version == '3.10'
run: |
# Because of namespace packaging we have to add this here and
# rebuild to avoid confusig pytest
pip install .
touch python/geoarrow-c/src/geoarrow/__init__.py
pytest --pyargs geoarrow.c --doctest-modules
# No Cython docs yet
# pip install pytest-cython
# pytest --pyargs geoarrow --doctest-cython

0 comments on commit c6a8784

Please sign in to comment.