Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update tests.yml
  • Loading branch information
petea authored Mar 18, 2022
commit 546e862dfdd97db4585b6e711fd863316904dfa7
17 changes: 13 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,18 @@ jobs:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: Build unit test target
run: swift build
- name: Run unit test target
run: swift test --enable-code-coverage
- name: Build unit test targets
run: |
xcodebuild build-for-testing \
-scheme AppAuth \
-sdk 'iphonesimulator' \
-destination 'platform=iOS Simulator,name=iPhone 11' \
- name: Run unit test targets
run: |
xcodebuild test-without-building \
-scheme AppAuth \
-sdk 'iphonesimulator' \
-destination 'platform=iOS Simulator,name=iPhone 11' \
-enableCodeCoverage YES
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2