Skip to content

Support PMCE on WebSockets #266

Support PMCE on WebSockets

Support PMCE on WebSockets #266

Workflow file for this run

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' }}