Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

cd-job:
name: Continuous Delivery
runs-on: ubuntu-24.04
runs-on: "ubuntu-24.04"
permissions:
contents: write
steps:
Expand All @@ -19,6 +19,9 @@ jobs:

- name: Setup Python & Poetry Environment
uses: ./.github/actions/python-environment
with:
python-version: "3.10"
poetry-version: "2.3.0"

- name: Build Artifacts
run: poetry build
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/check-release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:

check-tag-version-job:
name: Check Tag Version
runs-on: ubuntu-24.04
runs-on: "ubuntu-24.04"
permissions:
contents: read
steps:
Expand All @@ -16,6 +16,9 @@ jobs:

- name: Setup Python & Poetry Environment
uses: ./.github/actions/python-environment
with:
python-version: "3.10"
poetry-version: "2.3.0"

- name: Check Tag Version
# make sure the pushed/created tag matched the project version
Expand Down
41 changes: 32 additions & 9 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
Version-Check:
name: Version
runs-on: ubuntu-24.04
runs-on: "ubuntu-24.04"
permissions:
contents: read
steps:
Expand All @@ -17,14 +17,17 @@ jobs:

- name: Setup Python & Poetry Environment
uses: ./.github/actions/python-environment
with:
python-version: "3.10"
poetry-version: "2.3.0"

- name: Check Version(s)
run: poetry run -- nox -s version:check

Documentation:
name: Docs
needs: [ Version-Check ]
runs-on: ubuntu-24.04
runs-on: "ubuntu-24.04"
permissions:
contents: read
steps:
Expand All @@ -33,6 +36,9 @@ jobs:

- name: Setup Python & Poetry Environment
uses: ./.github/actions/python-environment
with:
python-version: "3.10"
poetry-version: "2.3.0"

- name: Build Documentation
run: |
Expand All @@ -50,7 +56,7 @@ jobs:

Changelog:
name: Changelog Update Check
runs-on: ubuntu-24.04
runs-on: "ubuntu-24.04"
permissions:
contents: read
if: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/master' }}
Expand All @@ -60,14 +66,17 @@ jobs:

- name: Setup Python & Poetry Environment
uses: ./.github/actions/python-environment
with:
python-version: "3.10"
poetry-version: "2.3.0"

- name: Run changelog update check
run: poetry run -- nox -s changelog:updated

Lint:
name: Linting (Python-${{ matrix.python-version }})
needs: [ Version-Check, build-matrix ]
runs-on: ubuntu-24.04
runs-on: "ubuntu-24.04"
permissions:
contents: read
strategy:
Expand All @@ -81,6 +90,7 @@ jobs:
uses: ./.github/actions/python-environment
with:
python-version: ${{ matrix.python-version }}
poetry-version: "2.3.0"

- name: Run lint
run: poetry run -- nox -s lint:code
Expand All @@ -97,7 +107,7 @@ jobs:
Type-Check:
name: Type Checking (Python-${{ matrix.python-version }})
needs: [ Version-Check, build-matrix ]
runs-on: ubuntu-24.04
runs-on: "ubuntu-24.04"
permissions:
contents: read
strategy:
Expand All @@ -112,14 +122,15 @@ jobs:
uses: ./.github/actions/python-environment
with:
python-version: ${{ matrix.python-version }}
poetry-version: "2.3.0"

- 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
runs-on: "ubuntu-24.04"
permissions:
contents: read
strategy:
Expand All @@ -134,6 +145,7 @@ jobs:
uses: ./.github/actions/python-environment
with:
python-version: ${{ matrix.python-version }}
poetry-version: "2.3.0"

- name: Run security linter
run: poetry run -- nox -s lint:security
Expand All @@ -147,7 +159,7 @@ jobs:

Format:
name: Format Check
runs-on: ubuntu-24.04
runs-on: "ubuntu-24.04"
permissions:
contents: read
steps:
Expand All @@ -156,14 +168,18 @@ jobs:

- name: Setup Python & Poetry Environment
uses: ./.github/actions/python-environment
with:
python-version: "3.10"
poetry-version: "2.3.0"

- name: Run format check
run: poetry run -- nox -s format:check


Build-Packages:
name: Build Package Check
needs: [ Documentation, Lint, Type-Check, Security, Format ]
runs-on: ubuntu-24.04
runs-on: "ubuntu-24.04"
permissions:
contents: read
steps:
Expand All @@ -172,6 +188,9 @@ jobs:

- name: Setup Python & Poetry Environment
uses: ./.github/actions/python-environment
with:
python-version: "3.10"
poetry-version: "2.3.0"

- name: Run Distribution Check
run: poetry run -- nox -s package:check
Expand All @@ -187,14 +206,17 @@ jobs:

- name: Setup Python & Poetry Environment
uses: ./.github/actions/python-environment
with:
python-version: "3.10"
poetry-version: "2.3.0"

- name: Run import linter
run: poetry run -- nox -s lint:import

Tests:
name: Unit-Tests (Python-${{ matrix.python-version }})
needs: [ Build-Packages, Lint-Imports, build-matrix ]
runs-on: ubuntu-24.04
runs-on: "ubuntu-24.04"
permissions:
contents: read
strategy:
Expand All @@ -212,6 +234,7 @@ jobs:
uses: ./.github/actions/python-environment
with:
python-version: ${{ matrix.python-version }}
poetry-version: "2.3.0"

- name: Run Tests and Collect Coverage
run: poetry run -- nox -s test:unit -- --coverage
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:

build-documentation:
runs-on: ubuntu-24.04
runs-on: "ubuntu-24.04"
permissions:
contents: read
steps:
Expand All @@ -18,6 +18,9 @@ jobs:

- name: Setup Python & Poetry Environment
uses: ./.github/actions/python-environment
with:
python-version: "3.10"
poetry-version: "2.3.0"

- name: Build Documentation
run: |
Expand All @@ -38,7 +41,7 @@ jobs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-24.04
runs-on: "ubuntu-24.04"
steps:
- name: Deploy to GitHub Pages
id: deployment
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/matrix-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
all_versions:
runs-on: ubuntu-24.04
runs-on: "ubuntu-24.04"
permissions:
contents: read
steps:
Expand All @@ -18,6 +18,9 @@ jobs:

- name: Setup Python & Poetry Environment
uses: ./.github/actions/python-environment
with:
python-version: "3.10"
poetry-version: "2.3.0"

- name: Generate matrix
run: poetry run -- nox -s matrix:all
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/matrix-exasol.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
exasol_versions:
runs-on: ubuntu-24.04
runs-on: "ubuntu-24.04"
permissions:
contents: read
steps:
Expand All @@ -18,6 +18,9 @@ jobs:

- name: Setup Python & Poetry Environment
uses: ./.github/actions/python-environment
with:
python-version: "3.10"
poetry-version: "2.3.0"

- name: Generate matrix
run: poetry run -- nox -s matrix:exasol
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/matrix-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
python_versions:
runs-on: ubuntu-24.04
runs-on: "ubuntu-24.04"
permissions:
contents: read
steps:
Expand All @@ -18,6 +18,9 @@ jobs:

- name: Setup Python & Poetry Environment
uses: ./.github/actions/python-environment
with:
python-version: "3.10"
poetry-version: "2.3.0"

- name: Generate matrix
run: poetry run -- nox -s matrix:python
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/merge-gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

run-slow-tests:
name: Run Slow Tests
runs-on: ubuntu-24.04
runs-on: "ubuntu-24.04"
permissions:
contents: read

Expand All @@ -36,7 +36,7 @@ jobs:
# This job ensures inputs have been executed successfully.
approve-merge:
name: Allow Merge
runs-on: ubuntu-24.04
runs-on: "ubuntu-24.04"
permissions:
contents: read
# If you need additional jobs to be part of the merge gate, add them below
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:

report:
runs-on: ubuntu-24.04
runs-on: "ubuntu-24.04"
permissions:
contents: read
env:
Expand All @@ -20,6 +20,9 @@ jobs:

- name: Setup Python & Poetry Environment
uses: ./.github/actions/python-environment
with:
python-version: "3.10"
poetry-version: "2.3.0"

- name: Download Artifacts
uses: actions/download-artifact@v7
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/slow-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
tests:
name: Integration-Tests (Python-${{ matrix.python-version }}, Exasol-${{ matrix.exasol-version}})
needs: [ build-matrix ]
runs-on: ubuntu-24.04
runs-on: "ubuntu-24.04"
permissions:
contents: read
env:
Expand All @@ -30,14 +30,15 @@ jobs:
uses: ./.github/actions/python-environment
with:
python-version: ${{ matrix.python-version }}
poetry-version: "2.3.0"

- name: Run Tests and Collect Coverage
run: poetry run -- nox -s test:integration -- --coverage --db-version ${{ matrix.exasol-version }}

- name: Upload Artifacts
uses: actions/upload-artifact@v6
with:
name: coverage-python${{ matrix.python-version }}-slow
name: coverage-python${{ matrix.python-version }}-exasol${{ matrix.exasol-version }}-slow
path: .coverage
include-hidden-files: true

Expand Down Expand Up @@ -68,6 +69,7 @@ jobs:
uses: ./.github/actions/python-environment
with:
python-version: "${{ matrix.python-version }}"
poetry-version: "2.3.0"

- name: Poetry version
run: poetry --version
Expand Down
Loading