From 7e01bebcecfffa21640619c57933d333112fbdc8 Mon Sep 17 00:00:00 2001 From: Nicola Coretti Date: Mon, 5 Feb 2024 13:21:24 +0100 Subject: [PATCH 1/3] Update CHANGELOG --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d0bcee..09d5db0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,10 @@ ## [Unreleased] -- Switch packaging and project workflows to poetry (internal 0.25.3) +- Switch packaging and project workflows to poetry - Drop support for python 3.7 - Drop support for Exasol 6.x +- Drop support for Exasol 7.0.x ## [0.25.2] - 2023-03-14 From 1009c96bc361be6ff781a54f58738ac4e0c181d4 Mon Sep 17 00:00:00 2001 From: Nicola Coretti Date: Mon, 5 Feb 2024 13:49:22 +0100 Subject: [PATCH 2/3] Add CI workflow templates --- .github/workflows/ci-master.yml | 28 ++++++++++++++++++++++++++++ .github/workflows/ci-pr.yml | 24 ++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 .github/workflows/ci-master.yml create mode 100644 .github/workflows/ci-pr.yml diff --git a/.github/workflows/ci-master.yml b/.github/workflows/ci-master.yml new file mode 100644 index 0000000..b6fda6b --- /dev/null +++ b/.github/workflows/ci-master.yml @@ -0,0 +1,28 @@ +name: Continues Integration (Master) + +on: + wokflow_dispatch: + pull_request: + branches-ignore: + - master + - main + - gh-pages + schedule: + # “At 00:00 on every 7th day-of-month from 1 through 31.” (https://crontab.guru) + - cron: "0 0 1/7 * *"jobs: + + verify: + runs-on: ubuntu-latest + + steps: + + - name: SCM Checkout + uses: actions/checkout@v4 + + - name: Setup Python & Poetry Environment + uses: exasol/python-toolbox/.github/actions/python-environment@main + with: + python-version: "3.11" + + - name: Run all checks + run: echo "Stub: This needs to call the checks in the future" diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml new file mode 100644 index 0000000..97ddaca --- /dev/null +++ b/.github/workflows/ci-pr.yml @@ -0,0 +1,24 @@ +name: Continues Integration (PR) + +on: + pull_request: + branches-ignore: + - master + - main + - "Test-Automation" + + verify: + runs-on: ubuntu-latest + + steps: + + - name: SCM Checkout + uses: actions/checkout@v4 + + - name: Setup Python & Poetry Environment + uses: exasol/python-toolbox/.github/actions/python-environment@0.7.0 + with: + python-version: "3.11" + + - name: Run all checks + run: echo "Stub: This needs to call the checks in the future" From cbc42f5c5e5246b4df9e19a3bdc29ced68e69c43 Mon Sep 17 00:00:00 2001 From: Nicola Coretti Date: Mon, 5 Feb 2024 14:15:13 +0100 Subject: [PATCH 3/3] Fix syntax in workflows --- .github/workflows/ci-master.yml | 9 ++++++--- .github/workflows/ci-pr.yml | 5 ++++- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-master.yml b/.github/workflows/ci-master.yml index b6fda6b..24e7385 100644 --- a/.github/workflows/ci-master.yml +++ b/.github/workflows/ci-master.yml @@ -1,7 +1,7 @@ name: Continues Integration (Master) on: - wokflow_dispatch: + workflow_dispatch: pull_request: branches-ignore: - master @@ -9,7 +9,9 @@ on: - gh-pages schedule: # “At 00:00 on every 7th day-of-month from 1 through 31.” (https://crontab.guru) - - cron: "0 0 1/7 * *"jobs: + - cron: "0 0 1/7 * *" + +jobs: verify: runs-on: ubuntu-latest @@ -25,4 +27,5 @@ on: python-version: "3.11" - name: Run all checks - run: echo "Stub: This needs to call the checks in the future" + run: | + echo "Stub: This needs to call the checks in the future" diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index 97ddaca..a12f98d 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -7,6 +7,8 @@ on: - main - "Test-Automation" +jobs: + verify: runs-on: ubuntu-latest @@ -21,4 +23,5 @@ on: python-version: "3.11" - name: Run all checks - run: echo "Stub: This needs to call the checks in the future" + run: | + echo "Stub: This needs to call the checks in the future"