diff --git a/.github/workflows/main_automation.yml b/.github/workflows/main_automation.yml index 122f9783..183233c8 100644 --- a/.github/workflows/main_automation.yml +++ b/.github/workflows/main_automation.yml @@ -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