diff --git a/exasol/toolbox/templates/github/workflows/checks.yml b/exasol/toolbox/templates/github/workflows/checks.yml index 5f5bf526..3706b9c4 100644 --- a/exasol/toolbox/templates/github/workflows/checks.yml +++ b/exasol/toolbox/templates/github/workflows/checks.yml @@ -123,9 +123,30 @@ jobs: path: .security.json include-hidden-files: true + Format: + name: Format Check (Python-${{ matrix.python-version }}) + needs: [ Version-Check ] + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: [ "3.9" ] + + steps: + - name: SCM Checkout + uses: actions/checkout@v4 + + - name: Setup Python & Poetry Environment + uses: exasol/python-toolbox/.github/actions/python-environment@0.18.0 + with: + python-version: ${{ matrix.python-version }} + + - name: Run format check + run: poetry run nox -s project:format + Tests: name: Unit-Tests (Python-${{ matrix.python-version }}, Exasol-${{ matrix.exasol-version}}) - needs: [ Documentation, Lint, Type-Check, Security] + needs: [ Documentation, Lint, Type-Check, Security, Format ] runs-on: ubuntu-latest env: GITHUB_TOKEN: ${{ secrets.ALTERNATIVE_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}