Skip to content

Update CI (#154)

Update CI (#154) #295

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.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