Skip to content

Bump ruff from 0.7.4 to 0.8.2 #67

Bump ruff from 0.7.4 to 0.8.2

Bump ruff from 0.7.4 to 0.8.2 #67

Workflow file for this run

name: Pull Request
on: pull_request
concurrency:
group: ${{ github.event.pull_request.number }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
test:
name: Pytest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: citizensadvice/python-poetry-setup-action@v1
- name: Install dependencies
run: poetry install --with dev
- name: Setup Docker Compose
uses: KengoTODA/actions-setup-docker-compose@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run pytest
run: poetry run pytest -v --cov --cov-fail-under=95
ruff:
name: Ruff and MyPy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: citizensadvice/python-poetry-setup-action@v1
- name: Install dependencies
run: poetry install --with dev
- name: Run ruff format check
run: poetry run ruff format --check
- name: Run ruff check
run: poetry run ruff check
- name: Run MyPy
run: poetry run mypy .