-
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (43 loc) · 1 KB
/
swift.yml
File metadata and controls
46 lines (43 loc) · 1 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
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: Swift
on: [push]
jobs:
codecov:
container:
image: swift:5.7
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: swift test --enable-code-coverage
- uses: mattpolzin/swift-codecov-action@0.7.5
with:
MINIMUM_COVERAGE: 99.9
INCLUDE_TESTS: 'true'
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v
ubuntu:
container:
image: swift:5.7
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v
swift57:
container:
image: swift:5.7
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v