Skip to content

ci: update CI to include Python 3.12 #175

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 15, 2024
Merged
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
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python: ["3.10"]
python: ["3.10", "3.12"]

steps:
- uses: actions/checkout@v3
Expand All @@ -22,14 +22,14 @@ jobs:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python3.10 -m venv venv
python${{ matrix.python }} -m venv venv
source venv/bin/activate
pip3 install --upgrade pip
python3.10 -m pip install -e ".[dev]"
python${{ matrix.python }} -m pip install -e ".[dev]"
- name: Test with pytest & coverage
run: |
source venv/bin/activate
python3.10 -m pytest --cov=src --cov-report term --cov-report html --cov-report xml -vv
python${{ matrix.python }} -m pytest --cov=src --cov-report term --cov-report html --cov-report xml -vv
# TODO requires activation for this repository on codecov website first.
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v3
Expand Down