-
Notifications
You must be signed in to change notification settings - Fork 24
45 lines (43 loc) · 1.06 KB
/
test.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
on:
push:
branches:
- master
- main
pull_request:
jobs:
xcode:
name: Xcode - ${{ matrix.scheme }}
runs-on: macos-latest
strategy:
matrix:
scheme:
- Tentacle-iOS
- Tentacle-OSX
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Build
run: script/cibuild Tentacle.xcworkspace ${{ matrix.scheme }} build-for-testing
- name: Test
run: script/cibuild Tentacle.xcworkspace ${{ matrix.scheme }} test-without-building
spm:
name: SwiftPM
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Build
run: swift build --build-tests
- name: Test
run: swift test --skip-build
update-test-fixures:
name: Update Test Fixtures
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Build
run: script/cibuild Tentacle.xcworkspace update-test-fixtures build