Skip to content

Commit 8a85787

Browse files
committed
Coverage job upgrade
1 parent c1cb32c commit 8a85787

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

.github/workflows/codecov.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,19 @@ jobs:
99
build:
1010

1111
runs-on: ubuntu-latest
12-
strategy:
13-
matrix:
14-
python-version: ['3.12']
1512

1613
steps:
17-
- uses: actions/checkout@v2
18-
- name: Set up Python ${{ matrix.python-version }}
19-
uses: actions/setup-python@v2
14+
- uses: actions/checkout@v4
15+
- name: Set up Python 3.14
16+
uses: actions/setup-python@v5
2017
with:
21-
python-version: ${{ matrix.python-version }}
18+
python-version: '3.14'
2219
- name: Install dependencies
2320
run: |
2421
python -m pip install --upgrade pip
2522
python -m pip install tox
26-
python -m pip install coverage
2723
- name: Run tests with coverage
2824
run: |
2925
tox -e coverage
30-
coverage xml
3126
- name: Upload coverage to Codecov
32-
uses: codecov/codecov-action@v1
27+
uses: codecov/codecov-action@v5

tox.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,15 @@ deps =
4949
[testenv:coverage]
5050
setenv =
5151
DJANGO_SETTINGS_MODULE=tests.settings
52-
basepython = python3
52+
basepython = python3.14
5353
usedevelop = True
5454
commands =
5555
{envpython} -m pytest --cov iommi --cov tests --cov-config .coveragerc {posargs}
5656
{envpython} -m coverage report -m
5757
{envpython} -m coverage html
58+
{envpython} -m coverage xml
5859
deps =
59-
Django >= 4.0, <4.1
60+
Django >= 6.0, <6.1
6061
coverage
6162
pytest-cov
6263
-rtest_requirements.txt

0 commit comments

Comments
 (0)