diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index ca1199a..d053318 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -11,13 +11,36 @@ on: jobs: quality-check: runs-on: ubuntu-latest + strategy: + matrix: + python: + - "3.12" + - "3.8" steps: - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.8' + python-version: ${{ matrix.python }} - name: Install dependencies run: pip install tox - name: Run quality checks run: tox -e quality + + type-check: + runs-on: ubuntu-latest + strategy: + matrix: + python: + - "3.12" + - "3.8" + steps: + - uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python }} + - name: Install dependencies + run: pip install tox + - name: Run type checks + run: tox -e types diff --git a/pyproject.toml b/pyproject.toml index 53741eb..c66d580 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,26 +38,24 @@ dependencies = [ [project.optional-dependencies] dev = [ - # general + # general and configurations "pre-commit~=3.5.0", "sphinx~=7.1.2", + "tox~=4.16.0", - # code quality - "black~=24.4.2", - "flake8~=7.1.0", - "isort~=5.13.2", - "mypy~=1.10.1", + # testing + "pytest~=8.2.2", "pytest-cov~=5.0.0", "pytest-mock~=3.14.0", - "pytest~=8.2.2", + + # code quality + "mypy~=1.10.1", "ruff~=0.5.2", - "tox~=4.16.0", - "types-requests~=2.32.0", # type-checking - "types-click", - "types-requests", - "types-PyYAML", + "types-click~=7.8.1", + "types-requests~=2.32.0", + "types-PyYAML~=6.0.1", ]