Skip to content

Commit 30b7481

Browse files
committed
add github test workflow
1 parent 1dcb36c commit 30b7481

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Main
2+
3+
on: push
4+
5+
concurrency:
6+
group: ${{ github.ref }}
7+
cancel-in-progress: true
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-24.04
12+
timeout-minutes: 10
13+
steps:
14+
- uses: actions/checkout@v5
15+
- uses: aboutbits/github-actions-java/setup-with-maven@v4
16+
with:
17+
java-version: 25
18+
- name: Test
19+
env:
20+
GITHUB_USER_NAME: ${{ github.actor }}
21+
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
run: >-
23+
./mvnw
24+
-s $GITHUB_WORKSPACE/.github/workflows/maven-settings.xml
25+
--batch-mode
26+
--fail-fast
27+
-Dsurefire.failIfNoSpecifiedTests=false
28+
test
29+
shell: bash

0 commit comments

Comments
 (0)