Skip to content

Commit

Permalink
try skipping doctests for 3.10 oldest
Browse files Browse the repository at this point in the history
  • Loading branch information
jGaboardi committed Jun 20, 2024
1 parent 4325482 commit 2fd484f
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,15 @@
- name: spatial versions
run: 'python -c "import geopandas; geopandas.show_versions();"'


- name: declare doctest run
run: |
if [[ $matrix.environment-file == 'ci/310-oldest.yaml'; then
echo "DOCTEST='--doctest-modules'" >> "$GITHUB_ENV"
else
echo "DOCTEST=''" >> "$GITHUB_ENV"
fi
- name: run tests
run: |
pytest \
Expand All @@ -73,8 +81,8 @@
--cov-append \
--cov-report term-missing \
--cov-report xml \
--doctest-modules \
--timeout 60
--timeout 60 \
env.DOCTEST
- name: codecov
uses: codecov/codecov-action@v4
Expand Down

0 comments on commit 2fd484f

Please sign in to comment.