Skip to content

Commit

Permalink
fix codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
max402 committed Jun 4, 2024
1 parent 8671960 commit f93e0d4
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 17 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/codecov.yml

This file was deleted.

7 changes: 7 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,10 @@ jobs:

- name: Step 4 - Build & Test
run: mvn clean verify -ntp -PIT

- name: Step 5 - Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
7 changes: 7 additions & 0 deletions .github/workflows/push-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ jobs:
- name: Step 4 - Build & Test
run: mvn clean verify -ntp -PIT

- name: Step 5 - Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true

- name: Step 5 - Deploy Snapshot
run: ./scripts/mvn_deploy.sh
env:
Expand Down
2 changes: 1 addition & 1 deletion scripts/mvn_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ set -e
echo "$GPG_SECRET_KEY" | base64 --decode | $GPG_EXECUTABLE --import --no-tty --batch --yes || true
echo "$GPG_OWNERTRUST" | base64 --decode | $GPG_EXECUTABLE --import-ownertrust --no-tty --batch --yes || true

mvn clean deploy -ntp --settings scripts/settings.xml gpg:sign -Prelease -DskipTests -U || exit 1
mvn deploy -ntp --settings scripts/settings.xml gpg:sign -Prelease -DskipTests -U || exit 1

0 comments on commit f93e0d4

Please sign in to comment.