Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/actions/python-environment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ inputs:
python-version:
description: 'Python version to use'
required: true
default: "3.10"
default: "3.11"

poetry-version:
description: 'Poetry version to use'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-and-publish.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .github/workflows/check-release-tag.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 18 additions & 18 deletions .github/workflows/checks.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .github/workflows/dependency-update.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .github/workflows/fast-tests.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .github/workflows/gh-pages.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .github/workflows/matrix.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 49 additions & 1 deletion .github/workflows/merge-gate-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,57 @@ on:
workflow_call:

jobs:
build-python-matrix:

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, so this is more like a smoke test. I don't think that we can easily cover all the edge cases, but this does cover the use case @MarleneKress79789 reported with the notebook-connector.

name: Build Python Matrix
uses: $/.github/workflows/matrix.yml
with:
matrix_keys_json: '["python_versions"]'
permissions:
contents: read

get-maximum-python-version:
name: Get Maximum Python Version
needs:
- build-python-matrix
runs-on: "ubuntu-26.04"
permissions:
contents: read
outputs:
maximum-python-version: ${{ steps.get-maximum-python-version.outputs.python-version }}
steps:
- name: Get Maximum Python Version
id: get-maximum-python-version
env:
PYTHON_VERSIONS_MATRIX: ${{ needs.build-python-matrix.outputs.matrix }}
run: |
maximum_python_version="$(jq -r '.python_versions | max_by(split(".") | map(tonumber))' <<< "$PYTHON_VERSIONS_MATRIX")"
echo "python-version=$maximum_python_version" >> "$GITHUB_OUTPUT"

check-format-maximum-python:
name: Check Format (Python-${{ needs.get-maximum-python-version.outputs.maximum-python-version }})
needs:
- get-maximum-python-version
runs-on: "ubuntu-26.04"
permissions:
contents: read
steps:
- name: Check out Repository
uses: actions/checkout@v7
with:
persist-credentials: false

- name: Set up Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/python-environment@v11
with:
python-version: ${{ needs.get-maximum-python-version.outputs.maximum-python-version }}
poetry-version: "2.3.0"

- name: Check Format
run: poetry run -- nox -s format:check

approve-run-slow-tests:
name: Approve Running Slow Tests?
runs-on: "ubuntu-24.04"
runs-on: "ubuntu-26.04"
permissions:
contents: read
environment: manual-approval
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/merge-gate.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .github/workflows/periodic-validation.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .github/workflows/report.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .github/workflows/slow-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
name: Run Integration Tests (Python-${{ matrix.python_versions }})
needs:
- build-matrix
runs-on: "ubuntu-24.04"
runs-on: "ubuntu-26.04"
permissions:
contents: read
env:
Expand Down
Loading