diff --git a/.github/workflows/zashi-tests.yml b/.github/workflows/zashi-tests.yml new file mode 100644 index 000000000..5ab97a0fe --- /dev/null +++ b/.github/workflows/zashi-tests.yml @@ -0,0 +1,23 @@ +name: Zashi unit tests + +on: + pull_request: + branches: [ "main" ] + +jobs: + build: + permissions: + contents: read + + runs-on: macos-14 + + steps: + - uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 + timeout-minutes: 1 + + - name: Select Xcode version + run: sudo xcode-select -s '/Applications/Xcode_15.2.app/Contents/Developer' + + - name: Run tests + timeout-minutes: 30 + run: xcodebuild test -scheme secant-testnet -skipMacroValidation -project secant.xcodeproj -destination 'platform=iOS Simulator,name=iPhone 15 Pro,OS=17.2'