Skip to content

Commit

Permalink
Update coverage configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeEdgar committed Apr 29, 2020
1 parent e744b45 commit ae46275
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,16 @@ jobs:
needs: [build, javadoc]
if: github.event_name == 'push' && github.repository == 'xlate/staedi'
runs-on: ubuntu-latest
name: Quality
name: Verify Quality

steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1.3.0
with:
java-version: 11

- name: Sonar
- name: Quality Analysis
env:
SONAR_TOKEN: ${{secrets.SONAR_TOKEN}}
run: mvn -B verify --file pom.xml -Pcoverage sonar:sonar -Dsonar.projectKey=xlate_staedi -Dsonar.login=$SONAR_TOKEN
COVERALLS_TOKEN: ${{secrets.COVERALLS_TOKEN}}
run: mvn -B verify --file pom.xml -Pcoverage sonar:sonar -Dsonar.projectKey=xlate_staedi -Dsonar.login=$SONAR_TOKEN -DrepoToken=COVERALLS_TOKEN

0 comments on commit ae46275

Please sign in to comment.