Skip to content

Configurable webSocket ping interval and timeout #284

Configurable webSocket ping interval and timeout

Configurable webSocket ping interval and timeout #284

Workflow file for this run

name: CI
on:
# tests can be called from other workflows
workflow_call:
# always run tests for every push to main
push:
branches: [main]
# always run tests for every PR
pull_request:
branches: [main]
jobs:
prek:
name: Run code checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: j178/prek-action@v2
unittest:
name: Run unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Print workflows
run: ls -R ./.github/workflows/
- name: Install uv
uses: ./.github/workflows/install-uv
- name: Install dependencies
run: uv sync --locked --group examples
- name: Run unit tests
run: uv run pytest --cov=src/signalbot --cov-branch --cov-report=xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}