Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test coveralls GitHub action #18

Merged
merged 3 commits into from
May 6, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,17 @@ jobs:
- name: Maven build
run: mvn -B verify package --file pom.xml

- name: Generate Coveralls File
if: matrix.java == '11'
run: mvn -B coveralls:report -Pcoverage -DdryRun=true

- name: Coveralls Analysis
if: matrix.java == '11'
env:
COVERALLS_TOKEN: ${{secrets.COVERALLS_TOKEN}}
run: mvn -B coveralls:report -Pcoverage -DrepoToken=$COVERALLS_TOKEN -DserviceName=GitHub
uses: MikeEdgar/github-action@raw_coverage_file
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-file: ./target/coveralls.json
coverage-format: raw

javadoc:
runs-on: ubuntu-latest
Expand Down