Skip to content

Commit

Permalink
Update codacy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DMarinhoCodacy authored Jan 9, 2025
1 parent 945d075 commit 678f7c0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/codacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
build:

runs-on: ubuntu-latest
environment: dev
environment: production

steps:
- uses: actions/checkout@v4
Expand All @@ -15,11 +15,13 @@ jobs:
with:
java-version: '8'
distribution: 'temurin'
cache: maven
- name: Test with Maven
run: mvn clean test

- name: Codacy Coverage Reporter
shell: bash
run: |
bash <(curl -Ls https://coverage.codacy.com/get.sh) report --codacy-api-base-url ${{ vars.API_BASE_URL }} -t ${{ secrets.CODACY_PROJECT_TOKEN }}
CODACY_PROJECT_TOKEN=${{ secrets.CODACY_PROJECT_TOKEN }} \
bash <(curl -Ls https://coverage.codacy.com/get.sh) report

0 comments on commit 678f7c0

Please sign in to comment.