-
Notifications
You must be signed in to change notification settings - Fork 21
34 lines (32 loc) 路 974 Bytes
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Quickstart for GitHub Actions
# https://docs.github.com/en/actions/quickstart
name: CI
on: [ push, pull_request ]
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
java: [ 8, 11, 17, 21 ]
fail-fast: false
max-parallel: 64
name: CI JDK ${{ matrix.java }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: zulu
cache: maven
- run: scripts/integration_test
# https://github.com/marketplace/actions/codecov
- run: ./mvnw -V --no-transfer-progress -P gen-code-cov clean package
- uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
# https://remarkablemark.org/blog/2017/10/12/check-git-dirty/
- name: Check git dirty
run: |
git status --short
[ -z "$(git status --short)" ]