From c6a8784d0df397a686f92c37ac17cb5941aa0153 Mon Sep 17 00:00:00 2001 From: Dewey Dunnington Date: Thu, 7 Sep 2023 16:05:51 -0300 Subject: [PATCH] move doctests to the end --- .github/workflows/python.yaml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index 8e2ea0dc..4e9840d4 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -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: | @@ -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