Skip to content

Commit

Permalink
Update to python toolbox 0.17.0 (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicoretti authored Nov 18, 2024
1 parent 45288d7 commit 10c7480
Show file tree
Hide file tree
Showing 7 changed files with 146 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/python-environment@0.16.0
uses: exasol/python-toolbox/.github/actions/python-environment@0.17.0

- name: Build Artifacts
run: poetry build
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@ jobs:
uses: ./.github/workflows/build-and-publish.yml
secrets:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}

publish-docs:
needs: [ cd-job ]
name: Publish Documentation
uses: ./.github/workflows/gh-pages.yml

2 changes: 1 addition & 1 deletion .github/workflows/check-release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/python-environment@0.16.0
uses: exasol/python-toolbox/.github/actions/python-environment@0.17.0

- name: Check Tag Version
# make sure the pushed/created tag matched the project version
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fetch-depth: 0

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/python-environment@0.16.0
uses: exasol/python-toolbox/.github/actions/python-environment@0.17.0

- name: Check Version(s)
run: |
Expand All @@ -35,7 +35,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/python-environment@0.16.0
uses: exasol/python-toolbox/.github/actions/python-environment@0.17.0

- name: Build Documentation
run: |
Expand All @@ -55,7 +55,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/python-environment@0.16.0
uses: exasol/python-toolbox/.github/actions/python-environment@0.17.0
with:
python-version: ${{ matrix.python-version }}

Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/python-environment@0.16.0
uses: exasol/python-toolbox/.github/actions/python-environment@0.17.0
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -97,14 +97,14 @@ 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
uses: actions/checkout@v4

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/python-environment@0.16.0
uses: exasol/python-toolbox/.github/actions/python-environment@0.17.0
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -127,15 +127,15 @@ 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:
- name: SCM Checkout
uses: actions/checkout@v4

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/python-environment@0.16.0
uses: exasol/python-toolbox/.github/actions/python-environment@0.17.0
with:
python-version: ${{ matrix.python-version }}

Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Publish Documentation

on: workflow_call
on:
workflow_call:
workflow_dispatch:

jobs:

Expand All @@ -14,7 +16,7 @@ jobs:
fetch-depth: 0

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/python-environment@0.16.0
uses: exasol/python-toolbox/.github/actions/python-environment@0.17.0

- name: Build Documentation
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fetch-depth: 0

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/python-environment@0.16.0
uses: exasol/python-toolbox/.github/actions/python-environment@0.17.0

- name: Download Artifacts
uses: actions/[email protected]
Expand Down Expand Up @@ -51,3 +51,4 @@ jobs:
poetry run coverage report -- --format markdown >> $GITHUB_STEP_SUMMARY
echo -e "\n\n# Static Code Analysis\n" >> $GITHUB_STEP_SUMMARY
cat .lint.txt >> $GITHUB_STEP_SUMMARY
poetry run tbx security pretty-print .security.json >> $GITHUB_STEP_SUMMARY
Loading

0 comments on commit 10c7480

Please sign in to comment.