Skip to content

Commit 7842cda

Browse files
authored
chore(ci): update coveralls config to fix failing tests (#370)
1 parent 8592cf5 commit 7842cda

File tree

2 files changed

+20
-5
lines changed

2 files changed

+20
-5
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,21 @@ jobs:
4545
uses: coverallsapp/github-action@v2
4646
with:
4747
github-token: ${{ secrets.GITHUB_TOKEN }}
48+
flag-name: run-${{ join(matrix.*, '-') }}
49+
parallel: true
50+
51+
finish_tests:
52+
needs: test
53+
name: Upload tests coveralls results
54+
if: ${{ always() }}
55+
runs-on: ubuntu-latest
56+
steps:
57+
- name: Coveralls Finished
58+
uses: coverallsapp/github-action@v2
59+
with:
60+
github-token: ${{ secrets.GITHUB_TOKEN }}
61+
parallel-finished: true
62+
carryforward: "run-ubuntu-latest-3.9,run-ubuntu-latest-3.10,run-ubuntu-latest-3.11,run-ubuntu-latest-3.12,run-ubuntu-latest-3.13"
4863

4964
release-please:
5065
needs: test

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
exclude: '^.*\.(md|MD)$'
22
repos:
33
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v4.5.0
4+
rev: v5.0.0
55
hooks:
66
- id: trailing-whitespace
77
- id: check-added-large-files
@@ -10,7 +10,7 @@ repos:
1010
args: ["--fix=lf"]
1111

1212
- repo: https://github.com/pycqa/isort
13-
rev: 5.13.2
13+
rev: 6.0.1
1414
hooks:
1515
- id: isort
1616
args:
@@ -36,18 +36,18 @@ repos:
3636
]
3737

3838
- repo: https://github.com/psf/black
39-
rev: "24.4.0"
39+
rev: "25.1.0"
4040
hooks:
4141
- id: black
4242

4343
- repo: https://github.com/asottile/pyupgrade
44-
rev: v3.15.1
44+
rev: v3.20.0
4545
hooks:
4646
- id: pyupgrade
4747
args: ["--py37-plus", "--keep-runtime-typing"]
4848

4949
- repo: https://github.com/commitizen-tools/commitizen
50-
rev: v3.22.0
50+
rev: v4.8.3
5151
hooks:
5252
- id: commitizen
5353
stages: [commit-msg]

0 commit comments

Comments
 (0)