1 parent f13477f commit da4e665Copy full SHA for da4e665
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,35 @@
1
+name: CI
2
+
3
+env:
4
+ FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
5
6
+on:
7
+ push:
8
+ branches:
9
+ - main
10
+ pull_request:
11
+ workflow_dispatch:
12
13
+concurrency:
14
+ group: ${{ github.workflow }}-${{ github.ref }}
15
+ cancel-in-progress: true
16
17
+jobs:
18
+ test:
19
+ name: macOS tests
20
+ runs-on: macos-26
21
+ timeout-minutes: 30
22
+ steps:
23
+ - name: Checkout
24
+ uses: actions/checkout@v4
25
26
+ - name: Swift version
27
+ run: swift --version
28
29
+ - name: Resolve dependencies
30
+ run: swift package resolve
31
32
+ - name: Run tests
33
+ run: |
34
+ python3 -c 'import subprocess,sys; sys.exit(subprocess.run(sys.argv[2:], timeout=int(sys.argv[1])).returncode)' \
35
+ 1200 swift test --disable-sandbox --no-parallel
0 commit comments