File tree Expand file tree Collapse file tree 5 files changed +62
-71
lines changed Expand file tree Collapse file tree 5 files changed +62
-71
lines changed Original file line number Diff line number Diff line change 51
51
- name : Unit tests API
52
52
run : yarn --cwd redisinsight/api/ test:cov --ci --silent
53
53
54
+ - name : Publish Test Results
55
+ uses : EnricoMi/publish-unit-test-result-action@v2
56
+ if : always()
57
+ with :
58
+ comment_mode : ' failures'
59
+ files : redisinsight/api/reports/jest-*.xml
60
+
54
61
- name : Generate test results
55
62
uses : dorny/test-reporter@v1
56
63
if : always()
59
66
path : redisinsight/api/reports/jest-*.xml
60
67
reporter : jest-junit
61
68
list-tests : ' failed'
62
- max-annotations : ' 1'
63
- fail-on-error : false
64
69
65
- - name : Publish Test Results
66
- uses : EnricoMi/publish-unit-test-result-action@v2
67
- if : always()
68
- with :
69
- comment_mode : ' failures'
70
- files : redisinsight/api/reports/jest-*.xml
Original file line number Diff line number Diff line change 55
55
run : |
56
56
.github/e2e/test.app-image.sh
57
57
58
- - name : Generate test results
59
- uses : dorny/test-reporter@v1
60
- if : always()
61
- with :
62
- name : ' Test results: E2E (AppImage)'
63
- path : tests/e2e/results/results.xml
64
- reporter : java-junit
65
- list-tests : ' failed'
66
- max-annotations : ' 1'
67
- fail-on-error : false
68
-
69
- - name : Publish Test Results
70
- uses : EnricoMi/publish-unit-test-result-action@v2
71
- if : always()
72
- with :
73
- comment_mode : ' failures'
74
- files : tests/e2e/results/results.xml
75
-
76
58
- name : Upload Test Report
77
59
uses : actions/upload-artifact@v4
78
60
if : always()
86
68
APP_BUILD_TYPE="Electron (Linux)" node ./.github/e2e-results.js
87
69
curl -H "Content-type: application/json" --data @e2e.report.json -H "Authorization: Bearer $SLACK_TEST_REPORT_KEY" -X POST https://slack.com/api/chat.postMessage
88
70
71
+ - name : Publish Test Results
72
+ uses : EnricoMi/publish-unit-test-result-action@v2
73
+ if : always()
74
+ with :
75
+ comment_mode : off
76
+ files : tests/e2e/results/results.xml
77
+
78
+ - name : Generate test results
79
+ uses : dorny/test-reporter@v1
80
+ if : always()
81
+ with :
82
+ name : ' Test results: E2E (AppImage)'
83
+ path : tests/e2e/results/results.xml
84
+ reporter : java-junit
85
+ list-tests : ' failed'
89
86
90
87
Original file line number Diff line number Diff line change 79
79
-f tests/e2e/docker.web.docker-compose.yml \
80
80
up --abort-on-container-exit --force-recreate
81
81
82
- - name : Generate test results for ${{ matrix.parallel }}th node
83
- uses : dorny/test-reporter@v1
84
- if : always()
85
- with :
86
- name : ' Test results: E2E (docker) ${{ matrix.parallel }}th node'
87
- path : /usr/src/app/results/results.xml
88
- reporter : java-junit
89
- list-tests : ' failed'
90
- max-annotations : ' 1'
91
- fail-on-error : false
92
-
93
- - name : Publish Test Results
94
- uses : EnricoMi/publish-unit-test-result-action/linux@v2
95
- if : always()
96
- with :
97
- comment_mode : ' failures'
98
- files : /usr/src/app/results/results.xml
99
-
100
82
- name : Upload Test Report
101
83
uses : actions/upload-artifact@v4
102
84
if : always()
@@ -110,3 +92,19 @@ jobs:
110
92
node ./.github/e2e-results.js
111
93
curl -H "Content-type: application/json" --data @e2e.report.json -H "Authorization: Bearer $SLACK_TEST_REPORT_KEY" -X POST https://slack.com/api/chat.postMessage
112
94
95
+ - name : Publish Test Results
96
+ uses : EnricoMi/publish-unit-test-result-action/linux@v2
97
+ if : always()
98
+ with :
99
+ comment_mode : off
100
+ check_run : false
101
+ files : /usr/src/app/results/results.xml
102
+
103
+ - name : Generate test results for ${{ matrix.parallel }}th node
104
+ uses : dorny/test-reporter@v1
105
+ if : always()
106
+ with :
107
+ name : ' Test results: E2E (docker) ${{ matrix.parallel }}th node'
108
+ path : /usr/src/app/results/results.xml
109
+ reporter : java-junit
110
+ list-tests : ' failed'
Original file line number Diff line number Diff line change 49
49
- name : Unit tests UI
50
50
run : yarn test:cov --ci --silent
51
51
52
+ - name : Publish Test Results
53
+ uses : EnricoMi/publish-unit-test-result-action@v2
54
+ if : always()
55
+ with :
56
+ comment_mode : ' failures'
57
+ files : reports/jest-*.xml
58
+
52
59
- name : Generate test results
53
60
uses : dorny/test-reporter@v1
54
61
if : always()
57
64
path : reports/jest-*.xml
58
65
reporter : jest-junit
59
66
list-tests : ' failed'
60
- max-annotations : ' 1'
61
- fail-on-error : false
62
-
63
- - name : Publish Test Results
64
- uses : EnricoMi/publish-unit-test-result-action@v2
65
- if : always()
66
- with :
67
- comment_mode : ' failures'
68
- files : reports/jest-*.xml
Original file line number Diff line number Diff line change @@ -111,24 +111,6 @@ jobs:
111
111
cp ./redisinsight/api/test/test-runs/coverage/test-run-result.xml ./itest/results/${{ matrix.rte }}.result.xml
112
112
cp ./redisinsight/api/test/test-runs/coverage/test-run-coverage.json ./itest/coverages/${{ matrix.rte }}.coverage.json
113
113
114
- - name : Generate test results
115
- uses : dorny/test-reporter@v1
116
- if : always()
117
- with :
118
- name : ' Test results: IT (${{ matrix.rte }}) tests'
119
- path : itest/results/*.result.xml
120
- reporter : jest-junit
121
- list-tests : ' failed'
122
- max-annotations : ' 1'
123
- fail-on-error : false
124
-
125
- - name : Publish Test Results
126
- uses : EnricoMi/publish-unit-test-result-action@v2
127
- if : always()
128
- with :
129
- comment_mode : ' failures'
130
- files : itest/results/*.result.xml
131
-
132
114
- name : Upload coverage files as artifact
133
115
if : always()
134
116
uses : actions/upload-artifact@v4
@@ -142,6 +124,23 @@ jobs:
142
124
ITEST_NAME=${{ matrix.rte }} node ./.github/itest-results.js
143
125
curl -H "Content-type: application/json" --data @itests.report.json -H "Authorization: Bearer $SLACK_TEST_REPORT_KEY" -X POST https://slack.com/api/chat.postMessage
144
126
127
+ - name : Publish Test Results
128
+ uses : EnricoMi/publish-unit-test-result-action@v2
129
+ if : always()
130
+ with :
131
+ comment_mode : off
132
+ check_run : false
133
+ files : itest/results/*.result.xml
134
+
135
+ - name : Generate test results
136
+ uses : dorny/test-reporter@v1
137
+ if : always()
138
+ with :
139
+ name : ' Test results: IT (${{ matrix.rte }}) tests'
140
+ path : itest/results/*.result.xml
141
+ reporter : jest-junit
142
+ list-tests : ' failed'
143
+
145
144
coverage :
146
145
runs-on : ubuntu-latest
147
146
name : Final coverage
You can’t perform that action at this time.
0 commit comments