From 21a7b2a7746ad989ecff3ce1e50e180a97f9b581 Mon Sep 17 00:00:00 2001 From: Nicola Coretti Date: Tue, 19 Nov 2024 08:31:17 +0100 Subject: [PATCH] Minor fixes and updates (#283) * Add python 3.12 to check workflow matrix * Update gh-pages workflow to use nox task docs:multiversion --- .github/workflows/checks.yml | 8 ++++---- .github/workflows/gh-pages.yml | 2 +- doc/changes/unreleased.md | 8 ++++++++ exasol/toolbox/templates/github/workflows/checks.yml | 8 ++++---- exasol/toolbox/templates/github/workflows/gh-pages.yml | 2 +- 5 files changed, 18 insertions(+), 10 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 992aaed4d..86460afd1 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -47,7 +47,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ "3.9", "3.10", "3.11" ] + python-version: [ "3.9", "3.10", "3.11", "3.12" ] steps: - name: SCM Checkout @@ -75,7 +75,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ "3.9", "3.10", "3.11" ] + python-version: [ "3.9", "3.10", "3.11", "3.12" ] steps: - name: SCM Checkout @@ -96,7 +96,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ "3.9", "3.10", "3.11" ] + python-version: [ "3.9", "3.10", "3.11", "3.12" ] steps: - name: SCM Checkout @@ -126,7 +126,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ "3.9", "3.10", "3.11" ] + python-version: [ "3.9", "3.10", "3.11", "3.12" ] exasol-version: [ "7.1.9" ] steps: diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 2dd09f9d1..80bcb69dd 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -20,7 +20,7 @@ jobs: - name: Build Documentation run: | - poetry run python -m nox -s docs:multiversion + poetry run nox -s docs:multiversion - name: Deploy uses: JamesIves/github-pages-deploy-action@v4.6.3 diff --git a/doc/changes/unreleased.md b/doc/changes/unreleased.md index 79e701b84..60b83af48 100644 --- a/doc/changes/unreleased.md +++ b/doc/changes/unreleased.md @@ -1 +1,9 @@ # Unreleased + +## ✨ Added + +* Added support for Python 3.12 to check.yml build matrices + +## 🔧 Changed + +* Updated gh-pages workflow to use the new multiversion nox task target diff --git a/exasol/toolbox/templates/github/workflows/checks.yml b/exasol/toolbox/templates/github/workflows/checks.yml index 7f27ad2e0..6922954f6 100644 --- a/exasol/toolbox/templates/github/workflows/checks.yml +++ b/exasol/toolbox/templates/github/workflows/checks.yml @@ -53,7 +53,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.9", "3.10", "3.11"] + python-version: [ "3.9", "3.10", "3.11", "3.12" ] steps: - name: SCM Checkout @@ -81,7 +81,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.9", "3.10", "3.11"] + python-version: [ "3.9", "3.10", "3.11", "3.12" ] steps: - name: SCM Checkout @@ -102,7 +102,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ "3.9", "3.10", "3.11" ] + python-version: [ "3.9", "3.10", "3.11", "3.12" ] steps: - name: SCM Checkout @@ -132,7 +132,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.9", "3.10", "3.11"] + python-version: [ "3.9", "3.10", "3.11", "3.12" ] exasol-version: ["7.1.9"] steps: diff --git a/exasol/toolbox/templates/github/workflows/gh-pages.yml b/exasol/toolbox/templates/github/workflows/gh-pages.yml index aa1c33e79..2d583d5bb 100644 --- a/exasol/toolbox/templates/github/workflows/gh-pages.yml +++ b/exasol/toolbox/templates/github/workflows/gh-pages.yml @@ -20,7 +20,7 @@ jobs: - name: Build Documentation run: | - poetry run sphinx-multiversion doc/ .html-documentation + poetry run nox -s docs:multiversion - name: Deploy uses: JamesIves/github-pages-deploy-action@v4.6.0