Skip to content

Commit b11f98e

Browse files
committed
Update CI to test examples
1 parent 5c8478e commit b11f98e

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

.github/workflows/CI.yml

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: CI
33
on: [push]
44

55
jobs:
6-
test-cloud:
6+
test-scf:
77
name: Test on SCF Environment
88
runs-on: ubuntu-latest
99
strategy:
@@ -18,6 +18,14 @@ jobs:
1818
uses: actions/checkout@v2
1919
- name: Test
2020
run: swift test --enable-test-discovery
21+
- name: Test CloudFunctions example
22+
run: |
23+
cd Examples/CloudFunctions
24+
swift build
25+
- name: Test LocalDebugging example
26+
run: |
27+
cd Examples/LocalDebugging/MyCloudFunction
28+
swift build
2129
2230
test-linux:
2331
name: Test on Linux
@@ -36,6 +44,14 @@ jobs:
3644
uses: actions/checkout@v2
3745
- name: Test
3846
run: swift test --enable-test-discovery
47+
- name: Test CloudFunctions example
48+
run: |
49+
cd Examples/CloudFunctions
50+
swift build
51+
- name: Test LocalDebugging example
52+
run: |
53+
cd Examples/LocalDebugging/MyCloudFunction
54+
swift build
3955
4056
test-macos:
4157
name: Test on macOS
@@ -45,3 +61,11 @@ jobs:
4561
uses: actions/checkout@v2
4662
- name: Test
4763
run: swift test
64+
- name: Test CloudFunctions example
65+
run: |
66+
cd Examples/CloudFunctions
67+
swift build
68+
- name: Test LocalDebugging example
69+
run: |
70+
cd Examples/LocalDebugging/MyCloudFunction
71+
swift build

0 commit comments

Comments
 (0)