-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (28 loc) · 732 Bytes
/
Copy pathci.yml
File metadata and controls
35 lines (28 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: CI
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: macOS tests
runs-on: macos-26
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Swift version
run: swift --version
- name: Resolve dependencies
run: swift package resolve
- name: Run tests
run: |
python3 -c 'import subprocess,sys; sys.exit(subprocess.run(sys.argv[2:], timeout=int(sys.argv[1])).returncode)' \
1200 swift test --disable-sandbox --no-parallel