File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Run Tests (Jest)
1+ name : Run Tests
22
33on : push
44
4242
4343 - name : Run Junit
4444 run : gradle test --no-daemon
45+
46+ - name : Upload Reports
47+ uses : mridang/action-test-reporter@v3
48+ with :
49+ results-path : build/reports/tests/test/*.xml
50+ coverage-path : build/reports/jacoco/test/jacoco.xml
Original file line number Diff line number Diff line change @@ -91,9 +91,11 @@ jacocoTestReport {
9191 reports {
9292 csv {
9393 required = true
94+ destination = file(" $buildDir /reports/jacoco/test/jacoco.csv" )
9495 }
9596 xml {
9697 required = true
98+ destination = file(" $buildDir /reports/jacoco/test/jacoco.xml" )
9799 }
98100 html {
99101 required = true
@@ -109,6 +111,7 @@ test {
109111 reports {
110112 junitXml {
111113 required = true
114+ destination = file(" $buildDir /reports/tests/test" )
112115 }
113116 html {
114117 required = true
You can’t perform that action at this time.
0 commit comments