forked from mattpolzin/OpenAPIKit
-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (48 loc) · 1.14 KB
/
tests.yml
File metadata and controls
50 lines (48 loc) · 1.14 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Tests
on:
pull_request:
push:
branches:
- main
jobs:
linux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
image:
- swift:5.10-focal
- swift:5.10-jammy
- swift:6.0-focal
- swift:6.0-jammy
- swift:6.0-noble
- swift:6.1-focal
- swift:6.1-jammy
- swift:6.1-noble
- swift:6.2-jammy
- swift:6.2-noble
- swiftlang/swift:nightly-focal
# - swiftlang/swift:nightly-jammy
container: ${{ matrix.image }}
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Run tests
run: swift test -Xswiftc -strict-concurrency=complete
osx:
strategy:
fail-fast: false
matrix:
os:
- macos-14
- macos-15
runs-on: ${{ matrix.os }}
steps:
- name: Select latest available Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest
- name: Checkout code
uses: actions/checkout@v5
- name: Run tests
run: swift test -Xswiftc -strict-concurrency=complete