Skip to content

Commit 3a0f2d3

Browse files
committed
ci: fix codecov action
1 parent 4ed35c4 commit 3a0f2d3

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/codecov.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,21 @@ on:
55

66
jobs:
77
code-coverage:
8-
runs-on: ubuntu-20.04
8+
runs-on: ubuntu-22.04
99
steps:
1010
- name: Checkout
1111
uses: actions/checkout@v3
1212

13-
- name: Set up Python 3.10
13+
- name: Set up Python 3.12
1414
uses: actions/setup-python@v5
1515
with:
16-
python-version: '3.10'
16+
python-version: '3.12'
1717

1818
- name: Install dependencies
1919
run: |
2020
python -m pip install --upgrade pip
21-
python -m pip install tox==3.24.5
21+
python -m pip install tox tox-gh-actions
22+
python -m pip install poetry
2223
python -m venv .venv
2324
source .venv/bin/activate
2425
pip install -e .

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ commands_pre =
7171
poetry install --no-root --sync --with test
7272

7373
[testenv:cov]
74-
basepython = python3.10
74+
basepython = python3.12
7575
commands_pre =
7676
poetry install --no-root --sync --with test
7777
commands =

0 commit comments

Comments
 (0)