Skip to content

Commit

Permalink
Update verification and quality build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeEdgar committed Apr 29, 2020
1 parent ae46275 commit e64844c
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,21 @@ jobs:
javadoc:
needs: [build]
runs-on: ubuntu-latest
name: Verify JavaDocs
name: Verify Coverage and JavaDocs

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

- name: Generate JavaDocs
run: mvn -B package javadoc:javadoc --file pom.xml
- name: Maven build
run: mvn -B -Pcoverage verify javadoc:javadoc --file pom.xml

- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{secrets.GITHUB_TOKEN}}

quality:
needs: [build, javadoc]
Expand All @@ -69,5 +74,4 @@ jobs:
- name: Quality Analysis
env:
SONAR_TOKEN: ${{secrets.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
run: mvn -B verify --file pom.xml sonar:sonar -Dsonar.projectKey=xlate_staedi -Dsonar.login=$SONAR_TOKEN

0 comments on commit e64844c

Please sign in to comment.