Skip to content

add exception message when reading login response #306

add exception message when reading login response

add exception message when reading login response #306

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", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[tests]
- name: Test with pytest
run: python -m pytest tests
timeout-minutes: 1
typecheck:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
- name: Check with Pyright
uses: jakebailey/pyright-action@v2
with:
warnings: true
extra-args: "tsbot"
- name: Typecheck examples folder
uses: jakebailey/pyright-action@v2
with:
warnings: true
extra-args: "examples"
lint:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- name: Check with Ruff
uses: astral-sh/ruff-action@v1
with:
src: "tsbot"