-
Notifications
You must be signed in to change notification settings - Fork 151
43 lines (36 loc) · 912 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
35
36
37
38
39
40
41
42
name: CI
on:
push:
branches:
- master
workflow_dispatch:
pull_request:
env:
TERM: dumb
jobs:
check:
runs-on: ubuntu-latest
strategy:
matrix:
java_version: [8]
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java_version }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java_version }}
distribution: 'temurin'
- name: Setup and execute Maven 'verify' task
run: |
./mvnw --batch-mode --update-snapshots verify
- name: Save test reports
if: always()
run: |
mkdir -p /tmp/test_reports/btm
cp -a btm/target/surefire-reports /tmp/test_reports/btm/
- name: Upload test reports
if: always()
uses: actions/upload-artifact@v3
with:
name: test_reports
path: /tmp/test_reports