Skip to content

Commit

Permalink
Added coverage computation
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberto-Gentili committed Oct 24, 2023
1 parent f18a737 commit a1066de
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/[A] compute coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Compute coverage

on:
push:
branches:
- main
paths:
- "src/main/**.java"
- "src/test/**.java"
- ".github/workflows/**"
- "**.properties"
- "**.xml"

jobs:
compute-coverage:
name: Compute coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: 8
distribution: 'zulu'
architecture: x64
- name: Build and test
run: mvn clean test -DskipTests=false -Dproject.test.testSuite=AllTestsSuite -P run-coveralls jacoco:report coveralls:report -DrepoToken=${{ secrets.coveralls_repo_token }}

0 comments on commit a1066de

Please sign in to comment.