File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,18 @@ The debug option uses 5005 port by default. It is possible to change it as follo
74
74
./mill integration.test.native ' scala.cli.integration.RunTestsDefault.*'
75
75
```
76
76
77
+ #### Generate JUnit test reports
78
+
79
+ As running tests with mill generates output in a non-standard JSON format, we have a script for converting it to the
80
+ more well known JUnit XML test report format which we can then process and view on the CI.
81
+ In case you want to generate a test report locally, you can run the following command:
82
+
83
+ ``` bash
84
+ .github/scripts/generate-junit-reports.sc < test suite title> < test report title> < output-path out/
85
+ ```
86
+
87
+ The test should fail when no test reports were found or if no tests were actually run.
88
+
77
89
#### Generate native packages
78
90
79
91
Build native packagers:
You can’t perform that action at this time.
0 commit comments