-
-
Notifications
You must be signed in to change notification settings - Fork 138
21 lines (21 loc) · 613 Bytes
/
Copy pathmaven.yml
File metadata and controls
21 lines (21 loc) · 613 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: Poiji Build and Test
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
java: [ 11, 17, 23 ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: adopt
- name: Build and Test project
run: mvn clean -B package --file pom.xml -P coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}