Skip to content

Commit ff6e5ff

Browse files
committed
Update exasol-toolbox to 1.1.0
1 parent 3135c59 commit ff6e5ff

11 files changed

+77
-54
lines changed

.github/workflows/build-and-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions/checkout@v4
1818

1919
- name: Setup Python & Poetry Environment
20-
uses: exasol/python-toolbox/.github/actions/python-environment@1.0.0
20+
uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0
2121

2222
- name: Build Artifacts
2323
run: poetry build

.github/workflows/check-release-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
uses: actions/checkout@v4
1515

1616
- name: Setup Python & Poetry Environment
17-
uses: exasol/python-toolbox/.github/actions/python-environment@1.0.0
17+
uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0
1818

1919
- name: Check Tag Version
2020
# make sure the pushed/created tag matched the project version

.github/workflows/checks.yml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
fetch-depth: 0
1717

1818
- name: Setup Python & Poetry Environment
19-
uses: exasol/python-toolbox/.github/actions/python-environment@1.0.0
19+
uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0
2020

2121
- name: Check Version(s)
2222
run: |
@@ -32,7 +32,7 @@ jobs:
3232
uses: actions/checkout@v4
3333

3434
- name: Setup Python & Poetry Environment
35-
uses: exasol/python-toolbox/.github/actions/python-environment@1.0.0
35+
uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0
3636

3737
- name: Build Documentation
3838
run: |
@@ -45,13 +45,14 @@ jobs:
4545
Changelog:
4646
name: Changelog Update Check
4747
runs-on: ubuntu-24.04
48+
if: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/master' }}
4849

4950
steps:
5051
- name: SCM Checkout
5152
uses: actions/checkout@v4
5253

5354
- name: Setup Python & Poetry Environment
54-
uses: exasol/python-toolbox/.github/actions/python-environment@1.0.0
55+
uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0
5556

5657
- name: Run changelog update check
5758
run: poetry run -- nox -s changelog:updated
@@ -69,15 +70,15 @@ jobs:
6970
uses: actions/checkout@v4
7071

7172
- name: Setup Python & Poetry Environment
72-
uses: exasol/python-toolbox/.github/actions/python-environment@1.0.0
73+
uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0
7374
with:
7475
python-version: ${{ matrix.python-version }}
7576

7677
- name: Run lint
7778
run: poetry run -- nox -s lint:code
7879

7980
- name: Upload Artifacts
80-
uses: actions/upload-artifact@v4.6.0
81+
uses: actions/upload-artifact@v4.6.2
8182
with:
8283
name: lint-python${{ matrix.python-version }}
8384
path: |
@@ -98,7 +99,7 @@ jobs:
9899
uses: actions/checkout@v4
99100

100101
- name: Setup Python & Poetry Environment
101-
uses: exasol/python-toolbox/.github/actions/python-environment@1.0.0
102+
uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0
102103
with:
103104
python-version: ${{ matrix.python-version }}
104105

@@ -118,15 +119,15 @@ jobs:
118119
uses: actions/checkout@v4
119120

120121
- name: Setup Python & Poetry Environment
121-
uses: exasol/python-toolbox/.github/actions/python-environment@1.0.0
122+
uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0
122123
with:
123124
python-version: ${{ matrix.python-version }}
124125

125126
- name: Run security linter
126127
run: poetry run -- nox -s lint:security
127128

128129
- name: Upload Artifacts
129-
uses: actions/upload-artifact@v4.6.0
130+
uses: actions/upload-artifact@v4.6.2
130131
with:
131132
name: security-python${{ matrix.python-version }}
132133
path: .security.json
@@ -141,15 +142,13 @@ jobs:
141142
uses: actions/checkout@v4
142143

143144
- name: Setup Python & Poetry Environment
144-
uses: exasol/python-toolbox/.github/actions/python-environment@1.0.0
145-
with:
146-
python-version: "3.9"
145+
uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0
147146

148147
- name: Run format check
149148
run: poetry run -- nox -s project:format
150149

151150
Tests:
152-
name: Unit-Tests (Python-${{ matrix.python-version }}, Exasol-${{ matrix.exasol-version}})
151+
name: Unit-Tests (Python-${{ matrix.python-version }})
153152
needs: [ Documentation, Lint, Type-Check, Security, Format, build-matrix ]
154153
runs-on: ubuntu-24.04
155154
env:
@@ -163,15 +162,15 @@ jobs:
163162
uses: actions/checkout@v4
164163

165164
- name: Setup Python & Poetry Environment
166-
uses: exasol/python-toolbox/.github/actions/python-environment@1.0.0
165+
uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0
167166
with:
168167
python-version: ${{ matrix.python-version }}
169168

170169
- name: Run Tests and Collect Coverage
171170
run: poetry run -- nox -s test:unit -- --coverage
172171

173172
- name: Upload Artifacts
174-
uses: actions/upload-artifact@v4.6.0
173+
uses: actions/upload-artifact@v4.6.2
175174
with:
176175
name: coverage-python${{ matrix.python-version }}-fast
177176
path: .coverage

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
name: CI
22

33
on:
4-
pull_request:
4+
push:
5+
branches-ignore:
6+
- "github-pages/*"
7+
- "gh-pages/*"
8+
- "main"
9+
- "master"
510
schedule:
611
# “At 00:00 on every 7th day-of-month from 1 through 31.” (https://crontab.guru)
712
- cron: "0 0 1/7 * *"

.github/workflows/gh-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ jobs:
1616
fetch-depth: 0
1717

1818
- name: Setup Python & Poetry Environment
19-
uses: exasol/python-toolbox/.github/actions/python-environment@1.0.0
19+
uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0
2020

2121
- name: Build Documentation
2222
run: |
2323
poetry run -- nox -s docs:multiversion
2424
2525
- name: Deploy
26-
uses: JamesIves/github-pages-deploy-action@v4.7.2
26+
uses: JamesIves/github-pages-deploy-action@v4.7.3
2727
with:
2828
branch: gh-pages
2929
folder: .html-documentation

.github/workflows/matrix-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions/checkout@v4
1818

1919
- name: Setup Python & Poetry Environment
20-
uses: exasol/python-toolbox/.github/actions/python-environment@1.0.0
20+
uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0
2121

2222
- name: Generate matrix
2323
run: poetry run -- nox -s matrix:python

.github/workflows/merge-gate.yml

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ name: Merge-Gate
22

33
on:
44
workflow_call:
5-
secrets:
6-
ALTERNATIVE_GITHUB_TOKEN:
7-
required: false
85

96
jobs:
107

@@ -14,23 +11,8 @@ jobs:
1411

1512
slow-checks:
1613
name: Slow
17-
runs-on: ubuntu-24.04
18-
environment: slow-tests
19-
steps:
20-
- name: SCM Checkout
21-
uses: actions/checkout@v4
22-
23-
- name: Setup Python & Poetry Environment
24-
uses: exasol/python-toolbox/.github/actions/python-environment@1.0.0
25-
with:
26-
python-version: "3.10"
27-
28-
- name: Tests
29-
env:
30-
SAAS_HOST: ${{ secrets.INTEGRATION_TEAM_SAAS_STAGING_HOST }}
31-
SAAS_ACCOUNT_ID: ${{ secrets.INTEGRATION_TEAM_SAAS_STAGING_ACCOUNT_ID }}
32-
SAAS_PAT: ${{ secrets.INTEGRATION_TEAM_SAAS_STAGING_PAT }}
33-
run: poetry run -- pytest --backend=all test/integration
14+
uses: ./.github/workflows/slow-checks.yml
15+
secrets: inherit
3416

3517
# This job ensures inputs have been executed successfully.
3618
approve-merge:

.github/workflows/report.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
fetch-depth: 0
1818

1919
- name: Setup Python & Poetry Environment
20-
uses: exasol/python-toolbox/.github/actions/python-environment@1.0.0
20+
uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0
2121

2222
- name: Download Artifacts
23-
uses: actions/download-artifact@v4.1.8
23+
uses: actions/download-artifact@v4.3.0
2424
with:
2525
path: ./artifacts
2626

@@ -41,7 +41,7 @@ jobs:
4141
run: poetry run -- nox -s project:report -- --format json | tee metrics.json
4242

4343
- name: Upload Artifacts
44-
uses: actions/upload-artifact@v4.6.0
44+
uses: actions/upload-artifact@v4.6.2
4545
with:
4646
name: metrics.json
4747
path: metrics.json

.github/workflows/slow-checks.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Slow-Checks
2+
3+
on:
4+
workflow_call:
5+
6+
jobs:
7+
8+
slow-checks:
9+
name: Slow
10+
runs-on: ubuntu-24.04
11+
environment: slow-tests
12+
strategy:
13+
matrix:
14+
python-version: ["3.10"]
15+
steps:
16+
- name: SCM Checkout
17+
uses: actions/checkout@v4
18+
19+
- name: Setup Python & Poetry Environment
20+
uses: exasol/python-toolbox/.github/actions/python-environment@1.0.0
21+
with:
22+
python-version: ${{ matrix.python-version }}
23+
24+
- name: Tests
25+
env:
26+
SAAS_HOST: ${{ secrets.INTEGRATION_TEAM_SAAS_STAGING_HOST }}
27+
SAAS_ACCOUNT_ID: ${{ secrets.INTEGRATION_TEAM_SAAS_STAGING_ACCOUNT_ID }}
28+
SAAS_PAT: ${{ secrets.INTEGRATION_TEAM_SAAS_STAGING_PAT }}
29+
run: poetry run -- pytest --backend=all test/integration
30+
31+
# - name: Upload Artifacts
32+
# uses: actions/upload-artifact@v4.6.2
33+
# with:
34+
# name: coverage-python${{ matrix.python-version }}-slow
35+
# path: .coverage
36+
# include-hidden-files: true

poetry.lock

Lines changed: 11 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ dill = "^0.3.4"
4242
exasol-udf-mock-python = ">=0.2.0"
4343
toml = ">=0.10.2"
4444
sphinx-copybutton = "^0.5.0"
45-
exasol-toolbox = "^1.0.1"
45+
exasol-toolbox = "^1.1.0"
4646
pytest-localserver = "^0.8.1"
4747
pytest-exasol-backend = ">=0.3.2,<1"
4848

0 commit comments

Comments
 (0)