Skip to content

Commit

Permalink
Update maven.yml
Browse files Browse the repository at this point in the history
revive the coverage step
  • Loading branch information
ozlerhakan authored Apr 22, 2024
1 parent 7c81a29 commit 9609888
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: Poiji Build

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -10,10 +8,12 @@ jobs:
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
java-version: "11"
distribution: "adopt"
cache: maven
- name: Build and Test with Maven
run: mvn clean -B package --file pom.xml -P coverage
- name: Codecov GitHub Action
uses: codecov/codecov-action@v2
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 9609888

Please sign in to comment.