Skip to content

Commit

Permalink
separate job for coverage #2
Browse files Browse the repository at this point in the history
  • Loading branch information
jnewc committed Apr 22, 2024
1 parent 97e09f3 commit 2e006e9
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/build_test_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,27 +102,27 @@ jobs:
ls ./fastlane/test_output/
xcresultparser -o cobertura ./fastlane/test_output/PrimerSDKTests.xcresult > cobertura.xml
- uses: actions/upload-artifact@master
with:
name: cobertura-coverage-file
path: ./cobertura.xml
with:
name: cobertura-coverage-file
path: ./cobertura.xml

test-coverage:
needs:
- sdk-unit-tests
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/download-artifact@master
with:
name: cobertura-coverage-file
path: ./cobertura.xml
- name: Code Coverage Summary
uses: irongut/[email protected]
with:
filename: cobertura.xml
badge: true
fail_below_min: true
thresholds: '35 75'
test-coverage:
needs:
- sdk-unit-tests
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/download-artifact@master
with:
name: cobertura-coverage-file
path: ./cobertura.xml
- name: Code Coverage Summary
uses: irongut/[email protected]
with:
filename: cobertura.xml
badge: true
fail_below_min: true
thresholds: '35 75'

build-and-upload-to-appetize:
needs:
Expand Down

0 comments on commit 2e006e9

Please sign in to comment.