-
Notifications
You must be signed in to change notification settings - Fork 6
48 lines (44 loc) · 1.19 KB
/
Copy pathci.yml
File metadata and controls
48 lines (44 loc) · 1.19 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions: { }
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
java-version:
- 17
- 21
permissions:
contents: read
steps:
- name: Checkout Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2
- name: Set up Java
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # tag=v4.7.1
with:
java-version: ${{ matrix.java-version }}
distribution: "temurin"
cache: "maven"
- name: Test
run: mvn -B --no-transfer-progress clean install
- name: Integration Test
env:
GITHUB_TOKEN: ${{ github.token }}
run: mvn -B --no-transfer-progress failsafe:integration-test
- name: Upload Integration Test Results
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # tag=v4.6.2
with:
name: test-results-${{ matrix.java-version }}
path: versatile-core/target/results/*.json