flag for checking if preload is called at least once. Else do not cac… #92
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Tests | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: macOS-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Setup iOS Simulator | |
run: | | |
xcode-select -p | |
xcrun xcodebuild -version | |
xcrun simctl list runtimes | |
xcrun simctl list devicetypes | |
xcrun simctl delete all | |
CURRENT_SIMULATOR_UUID=$(xcrun simctl create TestDevice "iPhone 14") | |
echo "CURRENT_SIMULATOR_UUID=$CURRENT_SIMULATOR_UUID" >> $GITHUB_ENV | |
- name: Run Package Tests | |
run: ./Scripts/test_package | |
- name: Run Samples Tests | |
run: ./Scripts/test_samples |