File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -65,18 +65,21 @@ jobs:
65
65
done
66
66
67
67
- name : Upload E2E Test Results HTML Report
68
+ if : always()
68
69
uses : actions/upload-artifact@v4
69
70
with :
70
71
name : test-results-html
71
72
path : ${{ github.workspace }}/e2e/results/report
72
73
73
74
- name : Upload E2E Test Results JSON Report
75
+ if : always()
74
76
uses : actions/upload-artifact@v4
75
77
with :
76
78
name : test-results-json
77
79
path : ${{ github.workspace }}/e2e/results/bcgov-aps-e2e-report.json
78
80
79
81
- name : Upload E2E Code Coverage Report
82
+ if : always()
80
83
uses : actions/upload-artifact@v4
81
84
with :
82
85
name : code-coverage
89
92
path : ${{ github.workspace }}/e2e/cypress/fixtures/state/scanResult.json
90
93
91
94
- name : Instrument the code for coverage analysis
95
+ if : always()
92
96
run : |
93
97
# Rewrite the paths as the coverage starts with '../app'!
94
98
sed -e 's/..\/app/./g' ./e2e/coverage/lcov.info > lcov.info
98
102
#npx nyc instrument --compact=false . --in-place
99
103
100
104
- name : SonarCloud Scan
105
+ if : always()
101
106
uses : sonarsource/sonarcloud-github-action@master
102
107
with :
103
108
args : >
@@ -113,6 +118,7 @@ jobs:
113
118
SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
114
119
115
120
- name : Check for failed tests and create Issue
121
+ if : always()
116
122
env :
117
123
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
118
124
run : |
You can’t perform that action at this time.
0 commit comments