Skip to content

Commit 4d0f92e

Browse files
fix: upload codecov report as a separate workflow step (openedx#1355)
1 parent 0349188 commit 4d0f92e

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/validate.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,24 @@ jobs:
1919
with:
2020
node-version: ${{ matrix.node }}
2121
- run: make validate.ci
22+
- name: Archive code coverage results
23+
uses: actions/upload-artifact@v4
24+
with:
25+
name: code-coverage-report-${{ matrix.node }}
26+
# When we're only using Node 20, replace the line above with the following:
27+
# name: code-coverage-report
28+
path: coverage/*.*
29+
coverage:
30+
runs-on: ubuntu-latest
31+
needs: tests
32+
steps:
33+
- uses: actions/checkout@v3
34+
- name: Download code coverage results
35+
uses: actions/download-artifact@v4
36+
with:
37+
name: code-coverage-report-20
38+
# When we're only using Node 20, replace the line above with the following:
39+
# name: code-coverage-report
2240
- name: Upload coverage
2341
uses: codecov/codecov-action@v4
2442
with:

0 commit comments

Comments
 (0)