forked from vapor/vapor
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (37 loc) · 1012 Bytes
/
test.yml
File metadata and controls
38 lines (37 loc) · 1012 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: test
on: { pull_request: {} }
jobs:
test-providers:
strategy:
fail-fast: false
matrix:
provider:
- vapor/jwt
- vapor/fluent
- vapor/leaf
- vapor/queues
- vapor/apns
runs-on: ubuntu-latest
container: swift:5.6-focal
steps:
- name: Check out Vapor
uses: actions/checkout@v2
with:
path: vapor
- name: Check out provider
uses: actions/checkout@v2
with:
repository: ${{ matrix.provider }}
path: provider
- name: Use local Vapor
run: swift package --package-path ./provider edit vapor --path ./vapor
- name: Run tests with Thread Sanitizer
env:
SWIFT_DETERMINISTIC_HASHING: 1
run: swift test --sanitize=thread
working-directory: provider
unit-tests:
uses: vapor/ci/.github/workflows/run-unit-tests.yml@reusable-workflows
with:
with_coverage: false
with_tsan: false