Skip to content

Commit d5d5638

Browse files
update template for github workflow check.yml
1 parent 831784c commit d5d5638

File tree

1 file changed

+22
-1
lines changed
  • exasol/toolbox/templates/github/workflows

1 file changed

+22
-1
lines changed

exasol/toolbox/templates/github/workflows/checks.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,30 @@ jobs:
123123
path: .security.json
124124
include-hidden-files: true
125125

126+
Format:
127+
name: Format Check (Python-${{ matrix.python-version }})
128+
needs: [ Version-Check ]
129+
runs-on: ubuntu-latest
130+
strategy:
131+
fail-fast: false
132+
matrix:
133+
python-version: [ "3.9" ]
134+
135+
steps:
136+
- name: SCM Checkout
137+
uses: actions/checkout@v4
138+
139+
- name: Setup Python & Poetry Environment
140+
uses: exasol/python-toolbox/.github/actions/[email protected]
141+
with:
142+
python-version: ${{ matrix.python-version }}
143+
144+
- name: Run format check
145+
run: poetry run nox -s project:format
146+
126147
Tests:
127148
name: Unit-Tests (Python-${{ matrix.python-version }}, Exasol-${{ matrix.exasol-version}})
128-
needs: [ Documentation, Lint, Type-Check, Security]
149+
needs: [ Documentation, Lint, Type-Check, Security, Format ]
129150
runs-on: ubuntu-latest
130151
env:
131152
GITHUB_TOKEN: ${{ secrets.ALTERNATIVE_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)