#266: SLCParameter should be only key/value pairs #120
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Checks | |
on: | |
pull_request: | |
jobs: | |
Version-Check: | |
name: Version | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: SCM Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Python & Poetry Environment | |
uses: exasol/python-toolbox/.github/actions/[email protected] | |
- name: Check Version(s) | |
run: | | |
poetry run version-check exasol/slc/version.py | |
build-matrix: | |
name: Generate Build Matrix | |
uses: ./.github/workflows/matrix-python.yml | |
Lint: | |
name: Linting (Python-${{ matrix.python-version }}) | |
needs: [ Version-Check, build-matrix ] | |
runs-on: ubuntu-24.04 | |
strategy: | |
fail-fast: false | |
matrix: ${{ fromJson(needs.build-matrix.outputs.matrix) }} | |
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 lint | |
run: poetry run nox -s lint:code | |
- name: Upload Artifacts | |
uses: actions/[email protected] | |
with: | |
name: lint-python${{ matrix.python-version }} | |
path: .lint.txt | |
include-hidden-files: true | |
Type-Check: | |
name: Type Checking (Python-${{ matrix.python-version }}) | |
needs: [ Version-Check, build-matrix ] | |
runs-on: ubuntu-24.04 | |
strategy: | |
fail-fast: false | |
matrix: ${{ fromJson(needs.build-matrix.outputs.matrix) }} | |
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 type-check | |
run: poetry run nox -s lint:typing | |
Security: | |
name: Security Checks (Python-${{ matrix.python-version }}) | |
needs: [ Version-Check, build-matrix ] | |
runs-on: ubuntu-24.04 | |
strategy: | |
fail-fast: false | |
matrix: ${{ fromJson(needs.build-matrix.outputs.matrix) }} | |
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 security linter | |
run: poetry run nox -s lint:security | |
- name: Upload Artifacts | |
uses: actions/[email protected] | |
with: | |
name: security-python${{ matrix.python-version }} | |
path: .security.json | |
include-hidden-files: true |