Skip to content

Add better type deduction for more expressions: #679

Add better type deduction for more expressions:

Add better type deduction for more expressions: #679

Workflow file for this run

name: Test
on:
push:
branches:
- "master"
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
env:
FORCE_COLOR: 1
TERM: xterm-color
MYPY_FORCE_COLOR: 1
MYPY_FORCE_TERMINAL_WIDTH: 200
PYTEST_ADDOPTS: --color=yes
steps:
- uses: actions/checkout@v3
- name: Install locales
run: |
sudo locale-gen zh_CN.GBK
sudo update-locale
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Pip install
run: make install
- name: Run ruff
run: make ruff
- name: Run mypy
run: make mypy
- name: Run black
run: make black
- name: Run isort
run: make isort
- name: Run typos
run: make typos
- name: Run unit tests
run: make test
- name: Run e2e tests
run: make test-e2e
# TODO: fail if docs are out of date
- name: Build docs
run: make docs