Skip to content

Commit

Permalink
Update checks workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicoretti committed Dec 11, 2024
1 parent 4d2bbd7 commit 304facd
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,16 @@ jobs:
run: |
poetry run python -m nox -s docs:build
python_versions:
uses: ./.github/workflows/:matrix:python.yml

Lint:
name: Linting (Python-${{ matrix.python-version }})
needs: [ Version-Check ]
needs: [ Version-Check, python_versions ]
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
matrix: ${{ fromJson(steps.needs.python_versions.outputs.matrix) }}

steps:
- name: SCM Checkout
Expand All @@ -70,12 +72,11 @@ jobs:

Type-Check:
name: Type Checking (Python-${{ matrix.python-version }})
needs: [ Version-Check ]
needs: [ Version-Check, python_versions ]
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
matrix: ${{ fromJson(steps.needs.python_versions.outputs.matrix) }}

steps:
- name: SCM Checkout
Expand All @@ -91,12 +92,11 @@ jobs:

Security:
name: Security Checks (Python-${{ matrix.python-version }})
needs: [ Version-Check ]
needs: [ Version-Check, python_versions ]
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
matrix: ${{ fromJson(steps.needs.python_versions.outputs.matrix) }}

steps:
- name: SCM Checkout
Expand Down Expand Up @@ -135,15 +135,13 @@ jobs:

Tests:
name: Unit-Tests (Python-${{ matrix.python-version }}, Exasol-${{ matrix.exasol-version}})
needs: [ Documentation, Lint, Type-Check, Security, Format]
needs: [ Documentation, Lint, Type-Check, Security, Format, python_versions ]
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.ALTERNATIVE_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
strategy:
fail-fast: false
matrix:
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
exasol-version: [ "7.1.9" ]
matrix: ${{ fromJson(steps.needs.python_versions.outputs.matrix) }}

steps:
- name: SCM Checkout
Expand Down

0 comments on commit 304facd

Please sign in to comment.