Skip to content

Commit 8578674

Browse files
committed
Report unit tests code coverage right after unit tests execution
Signed-off-by: Denis Golovin dgolovin@redhat.com
1 parent cb693cd commit 8578674

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/continuous-integration-workflow.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ jobs:
4242
with:
4343
run: npm run test:coverage --silent
4444

45+
# Upload coverage to codecov.io
46+
- name: Codecov
47+
uses: codecov/codecov-action@v1.0.12
48+
if: runner.os == 'Linux'
49+
with:
50+
file: ./out/coverage/coverage-final.json
51+
4552
# Run UI tests
4653
- name: Run UI Tests
4754
uses: GabrielBB/xvfb-action@v1.6
@@ -50,13 +57,6 @@ jobs:
5057
run: npm run public-ui-test
5158
options: -screen 0 1920x1080x24
5259

53-
# Upload coverage to codecov.io
54-
- name: Codecov
55-
uses: codecov/codecov-action@v1.0.12
56-
if: runner.os == 'Linux'
57-
with:
58-
file: ./out/coverage/coverage-final.json
59-
6060
# Archiving integration tests artifacts
6161
- name: Upload test artifacts
6262
uses: actions/upload-artifact@v2

0 commit comments

Comments
 (0)