Fix Failing Tests, Address Client Connection Issue #300
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.10-noble | |
steps: | |
- name: Check out package | |
uses: actions/checkout@v4 | |
with: { path: 'websocket-kit' } | |
- name: Check out Vapor | |
uses: actions/checkout@v4 | |
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@main | |
secrets: inherit |