Skip to content

Commit 74b7e49

Browse files
committed
Patch CI for latest Swift on Linux.
1 parent f70f2ab commit 74b7e49

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed
Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
1-
name: unit-test
2-
on: [push]
1+
name: unit-test-linux
2+
on:
3+
push:
4+
branches: [ "main" ]
5+
pull_request:
6+
branches: [ "main" ]
37

48
jobs:
59
build:
6-
name: unit-test
7-
runs-on: macOS-latest
10+
name: test-linux
11+
runs-on: ubuntu-latest
812
env:
913
GIT_SSL_NO_VERIFY: true
10-
DEVELOPER_DIR: /Applications/Xcode.app/Contents/Developer
1114
steps:
15+
- uses: SwiftyLab/setup-swift@latest
1216
- uses: actions/checkout@v1
13-
- name: test
14-
run: swift test
17+
- name: Test
18+
run: swift --version && swift test --no-parallel

0 commit comments

Comments
 (0)