Skip to content

Bump ruff from 0.6.2 to 0.6.4 #157

Bump ruff from 0.6.2 to 0.6.4

Bump ruff from 0.6.2 to 0.6.4 #157

Workflow file for this run

name: Code style & unit tests
on:
push: {}
workflow_dispatch: {}
jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
matrix:
version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
include:
- version: "3.12"
check-formatting: "true"
check-typing: "true"
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "${{ matrix.version }}"
- name: Install poetry
run: pip install poetry
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "${{ matrix.version }}"
cache: "poetry"
- name: Install dependencies
run: |
poetry install -n
- name: Code style
if: ${{ matrix.check-formatting }}
run: |
poetry run ruff format --check
- name: Lint
if: ${{ matrix.check-formatting }}
run: |
poetry run ruff check
- name: Typing
if: ${{ matrix.check-typing }}
run: |
poetry run pyright awscliv2
- name: Test
run: |
pip install pytest
poetry run pytest