Skip to content
This repository was archived by the owner on Oct 17, 2021. It is now read-only.

Commit 31a3519

Browse files
authored
Merge pull request #5 from SwiftDocOrg/update-ci
Update CI workflow
2 parents d3a3759 + 7675e1e commit 31a3519

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,31 @@
11
name: CI
22

3-
on: [push]
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
48

59
jobs:
6-
# macos:
7-
# runs-on: macOS-latest
10+
macos:
11+
runs-on: macOS-latest
812

9-
# steps:
10-
# - name: Checkout
11-
# uses: actions/checkout@v1
12-
# - name: Build and Test
13-
# run: swift test
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v1
16+
- name: Build and Test
17+
run: swift test
18+
env:
19+
DEVELOPER_DIR: /Applications/Xcode_11.4.app/Contents/Developer
1420

1521
linux:
1622
runs-on: ubuntu-latest
1723

1824
container:
19-
image: swiftlang/swift:nightly-5.2-xenial
25+
image: swift:5.2
2026

2127
steps:
2228
- name: Checkout
2329
uses: actions/checkout@v1
2430
- name: Build and Test
25-
run: swift test
31+
run: swift test --enable-test-discovery

0 commit comments

Comments
 (0)