Skip to content

Commit f0a963e

Browse files
committed
Add external contributor unit tests workflow
1 parent 3e21c1b commit f0a963e

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: External Contributor Unit Tests
2+
3+
on:
4+
workflow_dispatch:
5+
6+
permissions:
7+
contents: read
8+
9+
jobs:
10+
unit-tests:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
java: [8, 11, 17, 21]
15+
fail-fast: false
16+
timeout-minutes: 120
17+
steps:
18+
- uses: actions/checkout@v6
19+
- uses: actions/setup-java@v4
20+
with:
21+
distribution: 'corretto'
22+
java-version: ${{ matrix.java }}
23+
cache: 'maven'
24+
- name: Run unit tests
25+
run: mvn clean install -T0.4C
26+
- name: Run module path tests
27+
if: matrix.java != 8
28+
working-directory: test/module-path-tests
29+
run: |
30+
mvn package
31+
mvn exec:exec -P mock-tests

0 commit comments

Comments
 (0)