Skip to content

Commit f68112a

Browse files
npm installs.
1 parent 6f2e3a7 commit f68112a

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/docs-stage-2-test.yaml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,16 @@ jobs:
7272
node-version: 24
7373
cache: 'npm'
7474

75-
- name: "Repo setup"
75+
- name: "Repo setup Root"
76+
run: |
77+
npm ci
78+
79+
- name: "Repo setup docs"
7680
run: |
7781
npm ci
7882
working-directory: ./docs
7983

80-
- name: "Repo setup"
84+
- name: "Repo setup cloudevents"
8185
run: |
8286
npm ci
8387
working-directory: ./src/cloudevents
@@ -90,6 +94,12 @@ jobs:
9094
run: |
9195
make -C docs test
9296
97+
- name: "Reports to correct location"
98+
run: |
99+
mkdir -p .reports
100+
TMPDIR="./.reports" ./node_modules/.bin/lcov-result-merger "**/.reports/unit/coverage/lcov.info" ".reports/lcov.info" --ignore "node_modules" --prepend-source-files --prepend-path-fix "../../.."
101+
102+
93103
- name: "Save the result of fast test suite"
94104
uses: actions/upload-artifact@v4
95105
with:
@@ -102,7 +112,7 @@ jobs:
102112
uses: actions/upload-artifact@v4
103113
with:
104114
name: code-coverage-report
105-
path: "**/.reports/lcov.info"
115+
path: ".reports/lcov.info"
106116

107117
- name: "Save Python coverage reports"
108118
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)