krz/octosentry
macOS menu bar app to monitor GitHub security alerts
clone: git clone https://gitbay.org/krz/octosentry.git
1.1.1: .github/workflows/test.yml · raw
1name: test
2
3on:
4 pull_request:
5 push:
6 branches: [main]
7
8concurrency:
9 group: test-${{ github.ref }}
10 cancel-in-progress: true
11
12jobs:
13 test:
14 runs-on: macos-15
15 steps:
16 - uses: actions/checkout@v7
17
18 # The runner defaults to Xcode 16.4, whose strict-concurrency checking
19 # rejects SecurityEventStore's async-let fetches. Pin to the newest
20 # Xcode on the image.
21 - name: Select Xcode
22 run: sudo xcode-select -s /Applications/Xcode_26.1.app
23
24 - name: Show toolchain
25 run: xcodebuild -version
26
27 # Ad-hoc signing: the runner has no Developer ID certificate, and the
28 # app's sandbox/hardened-runtime entitlements need a signature to be
29 # applied at all. Building fully unsigned makes the UI tests fail to
30 # launch the app.
31 - name: Test
32 run: |
33 xcodebuild test \
34 -scheme octosentry \
35 -destination 'platform=macOS' \
36 CODE_SIGN_IDENTITY="-" \
37 CODE_SIGN_STYLE=Manual \
38 DEVELOPMENT_TEAM="" \
39 PROVISIONING_PROFILE_SPECIFIER=""