Skip to content

Bump pyright from 1.1.356 to 1.1.360 #25

Bump pyright from 1.1.356 to 1.1.360

Bump pyright from 1.1.356 to 1.1.360 #25

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
lint:
timeout-minutes: 1
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: install poetry
run: pipx install poetry
- name: setup python
uses: actions/setup-python@v5
with:
python-version: 3.8
cache: poetry
- name: install
run: poetry install --only=lint --sync
- name: codespell
run: poetry run codespell .
- name: ruff check
run: poetry run ruff check --output-format=github
typecheck:
timeout-minutes: 2
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.12"]
steps:
- name: checkout
uses: actions/checkout@v4
- name: install poetry
run: pipx install poetry
- name: setup python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: poetry
- name: install
run: poetry install --only=typecheck --sync
- name: pyright
run: poetry run pyright
test:
timeout-minutes: 2
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.8", "3.12"]
runs-on: ${{ matrix.os }}
steps:
- name: checkout
uses: actions/checkout@v4
- name: install poetry
run: pipx install poetry
- name: setup python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: poetry
- name: install
run: >
poetry install
--extras uvloop
--without lint
--with test-github
--sync
- name: pytest
run: poetry run pytest