Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the middleware usable and add tests #20

Merged
merged 8 commits into from
Mar 16, 2020
Prev Previous commit
Add Github workflow for CI
  • Loading branch information
gwynne committed Mar 16, 2020
commit 1154e0d42e236e6952e1f8c7e7d4712743319413
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: test
on:
- pull_request
jobs:
#jwtmiddleware_macos:
# runs-on: macos-latest
# env:
# DEVELOPER_DIR: /Applications/Xcode_11.4_beta.app/Contents/Developer
# steps:
# - uses: actions/checkout@v2
# - run: brew install vapor/tap/vapor-beta
# - run: xcrun swift test --enable-test-discovery --sanitize=thread
jwtmiddleware_xenial:
container:
image: vapor/swift:5.2-xenial
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: swift test --enable-test-discovery --sanitize=thread
jwtmiddleware_bionic:
container:
image: vapor/swift:5.2-bionic
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: swift test --enable-test-discovery --sanitize=thread