Add retry support to catch_and_convert_errors #363
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ruff and Pyright | |
on: [ push, pull_request ] | |
jobs: | |
ruff-and-pyright: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: install reqs | |
run: | | |
curl -LsSf https://astral.sh/uv/install.sh | sh | |
uv venv | |
uv pip install . | |
uv pip install .[dev] | |
- name: activate venv | |
run: | | |
. .venv/bin/activate | |
echo PATH=$PATH >> $GITHUB_ENV | |
- name: ruff (linter) | |
run: ruff check --select I . | |
- name: ruff (formatter) | |
run: ruff format --check . | |
- name: pyright | |
run: pyright | |
- name: pytest | |
run: pytest |