Bump ruff from 0.7.4 to 0.8.2 #69
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: 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 . | |