Skip to content

#358: Minimize disk space during export #103

#358: Minimize disk space during export

#358: Minimize disk space during export #103

Workflow file for this run

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/python-environment@0.20.0
- 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/python-environment@0.20.0
with:
python-version: ${{ matrix.python-version }}
- name: Run lint
run: poetry run nox -s lint:code
- name: Upload Artifacts
uses: actions/upload-artifact@v4.4.0
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/python-environment@0.20.0
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/python-environment@0.20.0
with:
python-version: ${{ matrix.python-version }}
- name: Run security linter
run: poetry run nox -s lint:security
- name: Upload Artifacts
uses: actions/upload-artifact@v4.4.0
with:
name: security-python${{ matrix.python-version }}
path: .security.json
include-hidden-files: true