first
This commit is contained in:
20
.github/workflows/unittest.yml
vendored
Normal file
20
.github/workflows/unittest.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
name: Java Unit Test with Maven
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '11'
|
||||
distribution: 'temurin'
|
||||
- name: Run tests with Maven
|
||||
run: mvn -B clean test --file pom.xml
|
||||
- name: Upload results to Codecov
|
||||
uses: codecov/codecov-action@v5
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
Reference in New Issue
Block a user