Skip to content

Commit

Permalink
test: run tests on scheme changes (#2763)
Browse files Browse the repository at this point in the history
  • Loading branch information
armcknight committed Mar 6, 2023
1 parent a63d3a5 commit 8e76be4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/saucelabs-UI-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ on:
- 'scripts/set-device-tests-environment.patch'
- 'scripts/ci-select-xcode.sh'

# run the workflow any time an Xcode scheme changes for one of the sample apps with a UI test suite we run in saucelabs
- 'Samples/iOS-Swift/iOS-Swift.xcodeproj/xcshareddata/xcschemes/iOS-SwiftUITests.xcscheme'
- 'Samples/iOS-Swift/iOS-Swift.xcodeproj/xcshareddata/xcschemes/iOS-Swift.xcscheme'

jobs:
build-ui-tests:
name: Build UITests with Xcode ${{matrix.xcode}}
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@ on:
- 'scripts/ci-select-xcode.sh'
- 'scripts/xcode-test.sh'

# run the workflow any time an Xcode scheme changes for any tested target
- 'Sentry.xcodeproj/xcshareddata/xcschemes/Sentry.xcscheme'
- 'Samples/tvOS-Swift/tvOS-Swift.xcodeproj/xcshareddata/xcschemes/tvOS-Swift.xcscheme'
- 'Samples/iOS-Swift/iOS-Swift.xcodeproj/xcshareddata/xcschemes/iOS13-Swift.xcscheme'
- 'Samples/iOS-Swift/iOS-Swift.xcodeproj/xcshareddata/xcschemes/iOS-SwiftUITests.xcscheme'
- 'Samples/iOS-Swift/iOS-Swift.xcodeproj/xcshareddata/xcschemes/iOS-Swift.xcscheme'
- 'Samples/macOS-Swift/macOS-Swift.xcodeproj/xcshareddata/xcschemes/macOS-Swift.xcscheme'
- 'Samples/iOS-ObjectiveC/iOS-ObjectiveC.xcodeproj/xcshareddata/xcschemes/iOS-ObjectiveC.xcscheme'

jobs:
build-test-server:
name: Build test server
Expand Down

0 comments on commit 8e76be4

Please sign in to comment.