File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 env :
2222 UV_LINK_MODE : copy
2323 shell : bash
24+
25+ - name : upload coverage artifact
26+ if : contains(inputs.nox-session, 'pytest')
27+ uses : actions/upload-artifact@v4
28+ with :
29+ name : coverage-${{ inputs.nox-session }}
30+ path : ci/test-reports/${{ inputs.nox-session }}.pytests.xml
Original file line number Diff line number Diff line change @@ -12,6 +12,12 @@ concurrency:
1212 group : ${{ github.workflow }}-${{ github.ref }}
1313 cancel-in-progress : true
1414
15+
16+ permissions :
17+ contents : read # for actions/checkout
18+ id-token : write # For codecov OIDC
19+
20+
1521jobs :
1622 generate-matrix :
1723 runs-on : ubuntu-24.04
@@ -111,3 +117,26 @@ jobs:
111117 - uses : ./.github/actions/nox-run
112118 with :
113119 nox-session : ${{ matrix.session }}
120+
121+
122+ codecov :
123+ needs : [nox-other, nox-pg, nox-mssq]
124+ runs-on : ubuntu-latest
125+
126+ steps :
127+ # Codecov action says we have to have done a checkout
128+ - name : Checkout
129+ uses : actions/checkout@v4
130+
131+ - uses : actions/download-artifact@v5
132+ with :
133+ path : ci/github-coverage
134+ merge-multiple : true
135+
136+ - name : Coverage files
137+ run : ls -R ci/
138+
139+ - uses : codecov/codecov-action@v5
140+ with :
141+ use_oidc : true
142+ directory : ci/github-coverage
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
2- # mise description='Nox session list for GH CI'
2+ # mise description='Nox session groups for GH CI'
33import json
44from os import environ
55
You can’t perform that action at this time.
0 commit comments