Skip to content

Commit 5bf2d07

Browse files
Added test action for new pull requests
1 parent 9a77ce4 commit 5bf2d07

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/test.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Test DynamicCodable
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
Test:
10+
runs-on: ubuntu-latest
11+
timeout-minutes: 10
12+
steps:
13+
- name: Checkout Source
14+
uses: actions/checkout@v2
15+
- name: Build
16+
run: |
17+
swift build --build-tests --enable-test-discovery --enable-index-store --configuration release -Xswiftc -warnings-as-errors -Xcc -Werror
18+
- name: Run Tests
19+
run: |
20+
swift test --skip-build --enable-test-discovery --enable-index-store --configuration release

0 commit comments

Comments
 (0)