File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change 3333 name : JEST Tests # Name of the check run which will be created
3434 path : ${{ env.broadcastjsWorkingDirectory }}/*-junit.xml # Path to test results
3535 reporter : jest-junit # Format of test results
36-
36+ - name : Publish Tests Results to CodeCov
37+ uses : codecov/test-results-action@v1
38+ with :
39+ fail_ci_if_error : true # optional (default = false)
40+ disable_search : true
41+ files : ./${{ env.broadcastjsWorkingDirectory }}/vitest-junit.xml # optional
42+ flags : broadcast # optional
43+ name : broadcastjs-tests # optional
44+ token : ${{ secrets.CODECOV_TOKEN }} # required
45+ verbose : true # optional (default = false)
46+ - name : Publish Coverage to CodeCov
47+ uses : codecov/codecov-action@v5
48+ with :
49+ fail_ci_if_error : true # optional (default = false)
50+ disable_search : true
51+ files : ./${{ env.broadcastjsWorkingDirectory }}/coverage/lcov.info # optional
52+ flags : broadcast # optional
53+ name : broadcastjs-coverage # optional
54+ token : ${{ secrets.CODECOV_TOKEN }}
55+ verbose : true # optional (default = false)
3756 - name : Create destination folder
3857 run : mkdir -p ${{env.artifactlocation}}
3958 - name : Copy file outputjs into staging directory
You can’t perform that action at this time.
0 commit comments