Skip to content

docs: update .readthedocs.yaml #133

docs: update .readthedocs.yaml

docs: update .readthedocs.yaml #133

Workflow file for this run

name: Tests
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[tests]
- name: Test with pytest
run: python -m pytest tests
typecheck:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
- name: Check with Pyright
uses: jakebailey/pyright-action@v2
with:
working-directory: "tsbot"
lint:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- name: Check with Ruff
uses: chartboost/ruff-action@v1
with:
src: "tsbot"