Skip to content

Commit

Permalink
update template for github workflow check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannis-Mittenzwei committed Nov 29, 2024
1 parent 831784c commit d5d5638
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion exasol/toolbox/templates/github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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 }}
Expand Down

0 comments on commit d5d5638

Please sign in to comment.