Skip to content

Commit

Permalink
Added test action for new pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitribouniol committed Apr 17, 2021
1 parent 9a77ce4 commit 5bf2d07
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Test DynamicCodable

on:
pull_request:
branches:
- main

jobs:
Test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout Source
uses: actions/checkout@v2
- name: Build
run: |
swift build --build-tests --enable-test-discovery --enable-index-store --configuration release -Xswiftc -warnings-as-errors -Xcc -Werror
- name: Run Tests
run: |
swift test --skip-build --enable-test-discovery --enable-index-store --configuration release

0 comments on commit 5bf2d07

Please sign in to comment.