Skip to content

Remove async-timeout dependency #149

Remove async-timeout dependency

Remove async-timeout dependency #149

Workflow file for this run

name: CI
on:
push:
pull_request:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
env:
DEFAULT_UV: "0.3.0"
jobs:
check-quality:
runs-on: ubuntu-latest
steps:
- name: Check out code from GitHub
uses: actions/[email protected]
- name: Set up uv
run: curl -LsSf https://astral.sh/uv/${{ env.DEFAULT_UV }}/install.sh | sh
- name: "Set up Python"
uses: actions/setup-python@v5
with:
python-version-file: "pyproject.toml"
- name: Create venv and install
run: uv sync --all-extras --dev
- name: Check formatting
run: uv run ruff format --check
- name: Ruff lint/sort/etc checking
run: uv run ruff check --no-fix elkm1_lib test
- name: Run pylint
run: uv run pylint elkm1_lib
- name: Check typing
run: uv run mypy --show-error-codes --strict elkm1_lib
- name: Run pytest
run: uv run pytest test