-
Notifications
You must be signed in to change notification settings - Fork 19
54 lines (52 loc) · 1.32 KB
/
tests.yml
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
51
52
53
54
name: Tests
on:
pull_request:
push:
branches:
- main
jobs:
linux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
image:
- swift:5.2-xenial
- swift:5.2-bionic
- swift:5.2-focal
- swift:5.2-centos8
- swift:5.2-amazonlinux2
- swift:5.3-xenial
- swift:5.3-bionic
- swift:5.3-focal
- swift:5.3-centos8
- swift:5.3-amazonlinux2
- swift:5.4-xenial
- swift:5.4-bionic
- swift:5.4-focal
- swift:5.4-centos8
- swift:5.4-amazonlinux2
- swift:5.5-xenial
- swift:5.5-bionic
- swift:5.5-focal
- swift:5.5-centos8
- swift:5.5-amazonlinux2
- swift:5.6-bionic
- swift:5.6-focal
- swift:5.6-amazonlinux2
container: ${{ matrix.image }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run tests
run: swift test --enable-test-discovery
osx:
runs-on: macOS-latest
steps:
- name: Select latest available Xcode
uses: maxim-lobanov/setup-xcode@v1
with: { 'xcode-version': 'latest' }
- name: Checkout code
uses: actions/checkout@v3
- name: Run tests
run: swift test --enable-test-discovery