Skip to content

Commit

Permalink
Allowing unit test to be triggered
Browse files Browse the repository at this point in the history
  • Loading branch information
ruisebas committed Jan 22, 2024
1 parent 4d41e88 commit 9cf2d02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Run Unit Tests

on:
workflow_dispatch:
push:
branches: [ main, ruisebas/report-coverage ]
pull_request:
Expand All @@ -15,7 +16,7 @@ jobs:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Unit test Authenticator on iOS
run: xcodebuild test -scheme Authenticator -sdk 'iphonesimulator' -destination 'platform=iOS Simulator,name=iPhone 14,OS=latest' -derivedDataPath Build/ -enableCodeCoverage YES -clonedSourcePackagesDirPath ~/Library/Developer/Xcode/DerivedData/Authenticator | xcpretty --simple --color --report junit && exit ${PIPESTATUS[0]}
- name: Upload coverage report
- name: Upload Coverage report
continue-on-error: true
run: |
cd Build/Build/ProfileData
Expand Down

0 comments on commit 9cf2d02

Please sign in to comment.