Skip to content

Commit

Permalink
x6
Browse files Browse the repository at this point in the history
  • Loading branch information
mihakralj committed Sep 23, 2024
1 parent 52bdc45 commit 337ef84
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/main_automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,26 +81,18 @@ jobs:
targetdir: 'coveragereport'
reporttypes: 'HtmlInline;Cobertura'

- name: List coverage files
if: github.ref == 'refs/heads/dev'
run: |
echo "Test Results:"
find TestResults -name "*.xml"
echo "Coverage Report:"
find coveragereport -name "*.xml"
- name: Upload coverage to Codacy
if: github.ref == 'refs/heads/dev'
uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: "coveragereport/*cover*.xml"
coverage-reports: "coveragereport/*cover*"

- name: Upload coverage to Codecov
if: github.ref == 'refs/heads/dev'
uses: codecov/codecov-action@v3
with:
files: coveragereport/cover*
files: coveragereport/*cover*
verbose: true

- name: Finish Sonar analysis
Expand Down

0 comments on commit 337ef84

Please sign in to comment.