Revert "Sendable Take 2 (#136)" #191
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: | |
vapor-integration: | |
if: ${{ !(github.event.pull_request.draft || false) }} | |
runs-on: ubuntu-latest | |
container: swift:5.8-jammy | |
steps: | |
- name: Check out package | |
uses: actions/checkout@v3 | |
with: { path: 'websocket-kit' } | |
- name: Check out Vapor | |
uses: actions/checkout@v3 | |
with: { repository: 'vapor/vapor', path: 'vapor' } | |
- name: Use local package in Vapor | |
run: swift package --package-path vapor edit websocket-kit --path websocket-kit | |
- name: Run Vapor tests | |
run: swift test --package-path vapor | |
unit-tests: | |
uses: vapor/ci/.github/workflows/run-unit-tests.yml@reusable-workflows | |
with: | |
with_coverage: true | |
with_tsan: false | |
with_public_api_check: ${{ github.event_name == 'pull_request' }} |