Skip to content

Commit f70edde

Browse files
Marcinclaude
andcommitted
ci: add pull-request test workflow
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 5e1fdcc commit f70edde

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/pull-request.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Test
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [main]
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
java-version: ['17', '21']
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Setup Java
19+
uses: actions/setup-java@v4
20+
with:
21+
distribution: temurin
22+
java-version: ${{ matrix.java-version }}
23+
cache: maven
24+
25+
- name: Run tests
26+
run: mvn --batch-mode --no-transfer-progress test

0 commit comments

Comments
 (0)