Skip to content

Add "--check" argument to isort command #5

Add "--check" argument to isort command

Add "--check" argument to isort command #5

Workflow file for this run

name: Tests
on: ['pull_request']
permissions:
contents: read
packages: write
jobs:
run_tests:
runs-on: ubuntu-latest
steps:
# https://github.com/actions/checkout
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build containers
run: docker buildx bake --file docker-compose.yml --file docker-compose.cache.json
- name: Run tests
run: docker compose run --rm mp-fsm pytest --cov --cov-fail-under=100 -v