File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,13 +4,18 @@ name: Gating
44" on " :
55 pull_request :
66 push :
7+ branches :
8+ - master
79 workflow_dispatch :
810 inputs : {}
911
1012jobs :
1113 tests :
1214 name : Unit tests
1315 runs-on : ubuntu-latest
16+ permissions :
17+ id-token : write
18+ contents : read
1419 steps :
1520 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1621
@@ -36,18 +41,13 @@ jobs:
3641 - name : Test with tox
3742 run : uvx --with tox-uv tox -e py3
3843
39- - name : Collect coverage with Coveralls
40- env :
41- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
42- COVERALLS_PARALLEL : true
43- run : |
44- uvx --with coveralls coveralls --service=github
45-
46- - name : Upload coverage to Coveralls
47- run : |
48- uvx --with coveralls coveralls --finish --service=github
49- env :
50- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
44+ - name : Upload coverage to Codecov
45+ uses : codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7
46+ with :
47+ fail_ci_if_error : true
48+ verbose : true
49+ use_oidc : true
50+ flags : unit-tests
5151
5252 hadolint :
5353 name : Hadolint
You can’t perform that action at this time.
0 commit comments