Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
# Optimized matrix: Ubuntu-only, actively maintained Python versions
# Total: 3 jobs (dropped Windows due to slow builds and limited test suite)
os: [ubuntu-latest]
python-version: ['3.12', '3.13', '3.14']

steps:
- uses: actions/checkout@v4
Expand All @@ -24,7 +26,7 @@ jobs:
run: uv python install ${{ matrix.python-version }}

- name: Install dependencies
run: uv sync --all-extras
run: uv sync --all-groups

- name: Install package
run: uv pip install -e .
Expand All @@ -33,7 +35,7 @@ jobs:
run: uv run pytest -v --cov=doctk --cov-report=xml --cov-report=term

- name: Upload coverage to Codecov
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.13'
uses: codecov/codecov-action@v4
with:
file: ./coverage.xml
Expand Down
Loading