Skip to content

Commit 7d3ef9d

Browse files
authored
ci: update CI to include Python 3.12 (#175)
1 parent efebabb commit 7d3ef9d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
python: ["3.10"]
15+
python: ["3.10", "3.12"]
1616

1717
steps:
1818
- uses: actions/checkout@v3
@@ -22,14 +22,14 @@ jobs:
2222
python-version: ${{ matrix.python }}
2323
- name: Install dependencies
2424
run: |
25-
python3.10 -m venv venv
25+
python${{ matrix.python }} -m venv venv
2626
source venv/bin/activate
2727
pip3 install --upgrade pip
28-
python3.10 -m pip install -e ".[dev]"
28+
python${{ matrix.python }} -m pip install -e ".[dev]"
2929
- name: Test with pytest & coverage
3030
run: |
3131
source venv/bin/activate
32-
python3.10 -m pytest --cov=src --cov-report term --cov-report html --cov-report xml -vv
32+
python${{ matrix.python }} -m pytest --cov=src --cov-report term --cov-report html --cov-report xml -vv
3333
# TODO requires activation for this repository on codecov website first.
3434
# - name: Upload coverage to Codecov
3535
# uses: codecov/codecov-action@v3

0 commit comments

Comments
 (0)