Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 35 additions & 22 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,39 @@ jobs:
distribution: adopt
cache: maven

- name: Run the tests in Maven
- name: Install maven (ubuntu-slim)
if: matrix.os == 'ubuntu-slim'
run: sudo apt-get update && sudo apt-get install -y maven

- name: Run the engine tests in Maven
timeout-minutes: 15
# We need a timeout here
env:
MAVEN_OPTS: -Xmx12g
run: mvn --batch-mode --no-transfer-progress --update-snapshots verify

- uses: actions/upload-artifact@v4
if: failure()
with:
name: testresults
path: |
./matchbox-server/target/surefire-reports
./matchbox-engine/target/surefire-reports
retention-days: 2

- name: Test Summary
uses: test-summary/action@v2
with:
paths: |
matchbox-engine/target/surefire-reports/TEST-*.xml
matchbox-server/target/surefire-reports/TEST-*.xml
if: always()
run: mvn --batch-mode --no-transfer-progress --update-snapshots -pl matchbox-engine test

- name: Run the GazelleApiR4Test tests in Maven
timeout-minutes: 15
run: mvn --batch-mode --no-transfer-progress --update-snapshots -pl matchbox-server -Dtest=GazelleApiR4Test test


- name: Run the TransformTest tests in Maven
timeout-minutes: 15
run: mvn --batch-mode --no-transfer-progress --update-snapshots -pl matchbox-server -Dtest=TransformTest test


- name: Run the MatchboxApiR4Test tests in Maven
timeout-minutes: 15
run: mvn --batch-mode --no-transfer-progress --update-snapshots -pl matchbox-server -Dscheduling_disabled=true -Dtest=MatchboxApiR4Test test


- name: Run the MatchboxApiR4BTest tests in Maven
timeout-minutes: 15
run: mvn --batch-mode --no-transfer-progress --update-snapshots -pl matchbox-server -Dtest=MatchboxApiR4BTest test


- name: Run the MatchboxApiR5Test tests in Maven
timeout-minutes: 15
run: mvn --batch-mode --no-transfer-progress --update-snapshots -pl matchbox-server -Dtest=MatchboxApiR5Test test


- name: Run the MatchboxApiR5onR4Test tests in Maven
timeout-minutes: 15
run: mvn --batch-mode --no-transfer-progress --update-snapshots -pl matchbox-server -Dtest=MatchboxApiR5onR4Test test
Loading
Loading