add and use exasol toolbox #7
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: | |
lint-job: | |
name: Linting and Type checks (Python-${{ matrix.python-version }}) | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.10", "3.11", "3.12"] | |
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 Unit Tests | |
run: poetry run nox -s test:unit | |
- name: Run Lint | |
run: poetry run nox -s lint:code | |
- name: Run type-check | |
run: poetry run nox -s lint:type | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ".lint-python-${{ matrix.python-version }}.txt" | |
path: .lint.txt |