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 : CI - Build and Test
2+
3+ on :
4+ push :
5+ branches : [ main, master, develop ]
6+ pull_request :
7+ branches : [ main, master, develop ]
8+ workflow_dispatch :
9+
10+ jobs :
11+ build-and-test :
12+ name : Build and Test treebase-core
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - name : Checkout code
17+ uses : actions/checkout@v4
18+
19+ - name : Set up JDK 8
20+ uses : actions/setup-java@v4
21+ with :
22+ java-version : ' 8'
23+ distribution : ' temurin'
24+ cache : ' maven'
25+
26+ - name : Build treebase-core
27+ run : mvn -B clean compile -f treebase-core/pom.xml
28+
29+ - name : Run tests
30+ run : mvn -B test -f treebase-core/pom.xml
31+
32+ - name : Publish Test Report
33+ uses : dorny/test-reporter@v1
34+ if : always()
35+ with :
36+ name : JUnit Test Results
37+ path : treebase-core/target/surefire-reports/*.xml
38+ reporter : java-junit
39+ fail-on-error : true
You can’t perform that action at this time.
0 commit comments