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 : Build and Test
2+
3+ on :
4+ push :
5+ branches : [ "main", "auto" ]
6+ pull_request :
7+ branches : [ "main" ]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+ permissions :
13+ contents : read
14+ checks : write
15+ pull-requests : write
16+
17+ steps :
18+ - uses : actions/checkout@v4
19+
20+ - name : Set up JDK 25
21+ uses : actions/setup-java@v4
22+ with :
23+ java-version : ' 25'
24+ distribution : ' temurin'
25+
26+ - name : Setup Gradle
27+ uses : gradle/actions/setup-gradle@v3
28+
29+ - name : Run Tests
30+ run : ./gradlew test
31+
32+ - name : Setup Node
33+ uses : actions/setup-node@v4
34+ if : always()
35+
36+ - name : Generate CTRF Report
37+ run : npx ctrf junit build/test-results/test/**/*.xml
38+ if : always()
39+
40+ - name : Publish Test Report
41+ uses : ctrf-io/github-test-reporter@v1
42+ with :
43+ report-path : ' ctrf-report.json'
44+ if : always()
You can’t perform that action at this time.
0 commit comments