diff --git a/.github/actions/upload_test_coverage_report/action.yml b/.github/actions/upload_test_coverage_report/action.yml index 63a0403..f37f393 100644 --- a/.github/actions/upload_test_coverage_report/action.yml +++ b/.github/actions/upload_test_coverage_report/action.yml @@ -37,18 +37,28 @@ runs: xcresultparser -o junit "$INPUT" > junit.xml shell: bash - - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v6 + - name: Upload Coverage to Codecov + uses: codecov/codecov-action@v5 with: token: ${{ inputs.token }} + files: ./cobertura.xml flags: ${{ inputs.scheme_name }} fail_ci_if_error: true verbose: true - files: ./cobertura.xml + + - name: Upload Test Results to Codecov + if: ${{ !cancelled() }} + uses: codecov/codecov-action@v5 + with: + token: ${{ inputs.token }} + files: ./junit.xml + flags: ${{ inputs.scheme_name }} report-type: test_results + fail_ci_if_error: true + verbose: true - name: Upload artifact - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@v4 with: name: ${{ inputs.filename }} path: ${{ inputs.output_path }}