Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Commit

Permalink
try this
Browse files Browse the repository at this point in the history
  • Loading branch information
mbyczkowski committed Jul 5, 2022
1 parent 002f3f3 commit 703a2fc
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,13 @@ jobs:
mysql user: 'root'
mysql root password: 'root'
- name: Run tests with Maven
run: mvn test jacoco:report coveralls:report -B -q --define repoToken=${{ secrets.COVERALLS_REPO_TOKEN }}
run: |
export CI_BRANCH=${BRANCH_NAME_OR_REF#refs/heads/}
export CI_PULL_REQUEST=$(jq --raw-output .pull_request.number "$GITHUB_EVENT_PATH")
mvn test jacoco:report coveralls:report -B -q -DrepoToken=$COVERALLS_SECRET
env:
CI_NAME: github
BRANCH_NAME_OR_REF: ${{ github.head_ref || github.ref }}
CI_BUILD_NUMBER: ${{ github.run_id }}
CI_BUILD_URL: https://github.com/${{ github.repository }}/commit/${{ github.event.after }}/checks
COVERALLS_SECRET: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 703a2fc

Please sign in to comment.