Skip to content

Commit 89ed3d1

Browse files
committed
Add continuous integration GitHub action
The action builds and tests the code base by using mvn verify on every pull request and git push.
1 parent 2c38e8e commit 89ed3d1

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ "releases/11.0" ]
6+
pull_request:
7+
branches: [ "releases/11.0" ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
container: bsisoftware/scout-maven-chrome:mvn-3.6.3-node-12.18.4
13+
steps:
14+
- uses: actions/checkout@v3
15+
- name: Build with Maven
16+
run: mvn -f org.eclipse.scout.rt/pom.xml clean verify -U -B -e -Dmaster_enforcerCheck_skip=true -Dmaster_node_dir=${NODE_HOME}/bin -Dscout.excludeTestCategories=org.eclipse.scout.rt.testing.platform.testcategory.ResourceIntensiveTest
17+
- name: Publish Test Report
18+
uses: mikepenz/action-junit-report@v5
19+
if: success() || failure() # always run even if the previous step fails
20+
with:
21+
fail_on_failure: true
22+
report_paths: |
23+
**/target/surefire-reports/TEST-*.xml
24+
**/target/karma-reports/**/test-results.xml
25+
check_name: |
26+
JUnit tests
27+
Jasmine tests

0 commit comments

Comments
 (0)