Skip to content

Commit

Permalink
ci: only check doctests on Python3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Oct 16, 2024
1 parent 3860828 commit 86c5b88
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/extremes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ jobs:
run: uv pip freeze
- name: Run pytest
run: pytest tests --cov=narwhals --cov=tests --cov-fail-under=50 --runslow
- name: Run doctests
run: pytest narwhals --doctest-modules

not_so_old_versions:
strategy:
Expand Down Expand Up @@ -88,8 +86,6 @@ jobs:
run: uv pip freeze
- name: Run pytest
run: pytest tests --cov=narwhals --cov=tests --cov-fail-under=50 --runslow
- name: Run doctests
run: pytest narwhals --doctest-modules

nightlies:
strategy:
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ jobs:
run: uv pip freeze
- name: Run pytest
run: pytest tests --cov=narwhals --cov=tests --cov-fail-under=85
- name: Run doctests
if: startsWith(matrix.os, 'windows') != true && matrix.python-version == '3.12'
run: pytest narwhals --doctest-modules

pytest-windows:
strategy:
Expand Down Expand Up @@ -60,8 +57,6 @@ jobs:
run: uv pip freeze
- name: Run pytest
run: pytest tests --cov=narwhals --cov=tests --runslow --cov-fail-under=95
- name: Run doctests
run: pytest narwhals --doctest-modules

pytest-coverage:
strategy:
Expand Down Expand Up @@ -95,4 +90,5 @@ jobs:
- name: Run pytest
run: pytest tests --cov=narwhals --cov=tests --cov-fail-under=100 --runslow
- name: Run doctests
if: matrix.python-version == '3.12'
run: pytest narwhals --doctest-modules

0 comments on commit 86c5b88

Please sign in to comment.