-
Notifications
You must be signed in to change notification settings - Fork 1
30 lines (27 loc) · 881 Bytes
/
test.yml
File metadata and controls
30 lines (27 loc) · 881 Bytes
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
name: Test
on: push
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17'
- uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- run: |
java -version
echo $JAVA_HOME
- run: ./mvnw install
- uses: codecov/codecov-action@v1
# - run: ./mvnw test
- run: curl -Os https://uploader.codecov.io/latest/linux/codecov
- run: chmod +x codecov
- run: ./codecov