Add Async Storage shutdown #1985
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
pull_request: { types: [opened, reopened, synchronize, ready_for_review] } | |
push: { branches: [ main ] } | |
jobs: | |
test-providers: | |
if: ${{ !(github.event.pull_request.draft || false) }} | |
strategy: | |
fail-fast: false | |
matrix: | |
provider: | |
- vapor/jwt | |
- vapor/fluent | |
- vapor/leaf | |
- vapor/queues | |
- vapor/apns | |
include: | |
- ref: main | |
- provider: vapor/apns | |
ref: 3.0.0 | |
runs-on: ubuntu-latest | |
container: swift:5.10 | |
steps: | |
- name: Check out Vapor | |
uses: actions/checkout@v4 | |
with: | |
path: vapor | |
- name: Check out provider | |
uses: actions/checkout@v4 | |
with: | |
repository: ${{ matrix.provider }} | |
path: provider | |
ref: ${{ matrix.ref }} | |
- name: Use local Vapor | |
run: swift package --package-path ./provider edit vapor --path ./vapor | |
- name: Run tests | |
env: | |
SWIFT_DETERMINISTIC_HASHING: 1 | |
run: swift test --package-path ./provider | |
unit-tests: | |
uses: vapor/ci/.github/workflows/run-unit-tests.yml@main | |
with: | |
with_tsan: false | |
test-parallel: | |
if: ${{ !(github.event.pull_request.draft || false) }} | |
runs-on: ubuntu-latest | |
container: swift:5.10 | |
steps: | |
- name: Check out Vapor | |
uses: actions/checkout@v4 | |
- name: Run tests | |
run: swift test --parallel |