Skip to content

Commit 7ebf6af

Browse files
author
Zoran Simic
committed
Use coveralls instead of codecov
1 parent 6d2f7e4 commit 7ebf6af

File tree

2 files changed

+17
-31
lines changed

2 files changed

+17
-31
lines changed

.github/workflows/tests.yml

Lines changed: 12 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ concurrency:
1212

1313
jobs:
1414
test:
15-
name: Test Python ${{ matrix.python-version }}
15+
name: Test py${{ matrix.python-version }}
1616
runs-on: ubuntu-latest
1717

1818
strategy:
@@ -34,39 +34,21 @@ jobs:
3434
- uses: astral-sh/setup-uv@v7
3535
- run: uvx --with tox-uv tox -e py
3636

37-
- uses: codecov/codecov-action@v5
37+
- uses: coverallsapp/github-action@v2
3838
with:
39-
files: .tox/test-reports/coverage.xml
40-
flags: python-${{ matrix.python-version }}
41-
42-
test-eol:
43-
name: Test Python ${{ matrix.python-version }} (EOL)
44-
# EOL-ed versions of python are exercised on older linux distros, will eventually be retired
45-
runs-on: ubuntu-20.04
46-
47-
strategy:
48-
fail-fast: false
49-
matrix:
50-
python-version: ["3.7", "3.8", "3.9"]
39+
file: .tox/test-reports/coverage.xml
40+
flag-name: python-${{ matrix.python-version }}
41+
parallel: true
5142

43+
coveralls-finish:
44+
name: Finish Coveralls
45+
needs: test
46+
runs-on: ubuntu-latest
5247
steps:
53-
- uses: actions/checkout@v6
54-
- uses: actions/setup-python@v6
55-
with:
56-
python-version: ${{ matrix.python-version }}
57-
58-
- name: Configure git
59-
run: |
60-
git config --global user.name "GH-actions-bot"
61-
git config --global user.email "gh-actions-bot@noreply.github.com"
62-
63-
- uses: astral-sh/setup-uv@v7
64-
- run: uvx --with tox-uv tox -e py
65-
66-
- uses: codecov/codecov-action@v5
48+
- name: Finish parallel build
49+
uses: coverallsapp/github-action@v2
6750
with:
68-
files: .tox/test-reports/coverage.xml
69-
flags: python-${{ matrix.python-version }}
51+
parallel-finished: true
7052

7153
linters:
7254
runs-on: ubuntu-latest

HISTORY.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ Release notes
77

88
* Test with py3.14, publish sdist with py3.13
99

10-
* Internal project modernizations (use ``uv``, ``ruff`` etc)
10+
* Internal project modernizations (use ``uv``, ``ruff``, enabled more linter rules, etc)
11+
12+
* Use coveralls_ for test coverage reporting
1113

1214

1315
3.8.0 (2025-03-25)
@@ -563,3 +565,5 @@ Release notes
563565
.. _pip-compile: https://pypi.org/project/pip-tools/
564566

565567
.. _hdeps: https://pypi.org/project/hdeps/
568+
569+
.. _coveralls: https://coveralls.io/

0 commit comments

Comments
 (0)