Skip to content

Commit 9dc1cdd

Browse files
authored
#114: Updated dependency declaration to pyexasol (#115)
* Updated PTB python-environment from 1.6.0 to 1.10.0 * Prepare release 0.12.0
1 parent 177d18f commit 9dc1cdd

16 files changed

+2068
-1516
lines changed

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

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

2020
- name: Setup Python & Poetry Environment
21-
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
21+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
2222

2323
- name: Build Artifacts
2424
run: poetry build

.github/workflows/cd.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
tags:
66
- '**'
7+
- '!v*'
78

89
jobs:
910

@@ -14,6 +15,7 @@ jobs:
1415
contents: read
1516

1617
cd-job:
18+
needs: [ check-tag-version-job ]
1719
name: Continuous Delivery
1820
uses: ./.github/workflows/build-and-publish.yml
1921
permissions:
@@ -29,4 +31,3 @@ jobs:
2931
contents: read
3032
pages: write
3133
id-token: write
32-

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

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

1717
- name: Setup Python & Poetry Environment
18-
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
18+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
1919

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

.github/workflows/checks.yml

Lines changed: 8 additions & 10 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.6.0
19+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
2020

2121
- name: Check Version(s)
2222
run: poetry run -- nox -s version:check
@@ -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.6.0
35+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
3636

3737
- name: Build Documentation
3838
run: |
@@ -59,7 +59,7 @@ jobs:
5959
uses: actions/checkout@v4
6060

6161
- name: Setup Python & Poetry Environment
62-
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
62+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
6363

6464
- name: Run changelog update check
6565
run: poetry run -- nox -s changelog:updated
@@ -78,7 +78,7 @@ jobs:
7878
uses: actions/checkout@v4
7979

8080
- name: Setup Python & Poetry Environment
81-
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
81+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
8282
with:
8383
python-version: ${{ matrix.python-version }}
8484

@@ -109,7 +109,7 @@ jobs:
109109
uses: actions/checkout@v4
110110

111111
- name: Setup Python & Poetry Environment
112-
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
112+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
113113
with:
114114
python-version: ${{ matrix.python-version }}
115115

@@ -131,7 +131,7 @@ jobs:
131131
uses: actions/checkout@v4
132132

133133
- name: Setup Python & Poetry Environment
134-
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
134+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
135135
with:
136136
python-version: ${{ matrix.python-version }}
137137

@@ -155,7 +155,7 @@ jobs:
155155
uses: actions/checkout@v4
156156

157157
- name: Setup Python & Poetry Environment
158-
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
158+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
159159

160160
- name: Run format check
161161
run: poetry run -- nox -s project:format
@@ -166,8 +166,6 @@ jobs:
166166
runs-on: ubuntu-24.04
167167
permissions:
168168
contents: read
169-
env:
170-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
171169
strategy:
172170
fail-fast: false
173171
matrix: ${{ fromJson(needs.build-matrix.outputs.matrix) }}
@@ -177,7 +175,7 @@ jobs:
177175
uses: actions/checkout@v4
178176

179177
- name: Setup Python & Poetry Environment
180-
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
178+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
181179
with:
182180
python-version: ${{ matrix.python-version }}
183181

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fetch-depth: 0
1818

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

2222
- name: Build Documentation
2323
run: |

.github/workflows/matrix-all.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.6.0
20+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
2121

2222
- name: Generate matrix
2323
run: poetry run -- nox -s matrix:all
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Build Matrix (Exasol)
2+
3+
on:
4+
workflow_call:
5+
outputs:
6+
matrix:
7+
description: "Generates the exasol version build matrix"
8+
value: ${{ jobs.exasol_versions.outputs.matrix }}
9+
10+
jobs:
11+
exasol_versions:
12+
runs-on: ubuntu-24.04
13+
permissions:
14+
contents: read
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@v1
21+
22+
- name: Generate matrix
23+
run: poetry run -- nox -s matrix:exasol
24+
25+
- id: set-matrix
26+
run: |
27+
echo "matrix=$(poetry run -- nox -s matrix:exasol)" >> $GITHUB_OUTPUT
28+
29+
outputs:
30+
matrix: ${{ steps.set-matrix.outputs.matrix }}

.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.6.0
20+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
2121

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

.github/workflows/merge-gate.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,23 @@ jobs:
1111
permissions:
1212
contents: read
1313

14+
run-slow-tests:
15+
name: Run Slow Tests
16+
runs-on: ubuntu-24.04
17+
permissions:
18+
contents: read
19+
20+
# Even though the environment "manual-approval" will be created automatically,
21+
# it still needs to be configured to require interactive review.
22+
# See project settings on GitHub (Settings / Environments / manual-approval).
23+
environment: manual-approval
24+
steps:
25+
- name: Tests
26+
run: echo "Slow tests approved"
27+
1428
slow-checks:
1529
name: Slow
30+
needs: [ run-slow-tests ]
1631
uses: ./.github/workflows/slow-checks.yml
1732
secrets: inherit
1833
permissions:

.github/workflows/report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
fetch-depth: 0
2020

2121
- name: Setup Python & Poetry Environment
22-
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
22+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
2323

2424
- name: Download Artifacts
25-
uses: actions/download-artifact@v4.2.1
25+
uses: actions/download-artifact@v5.0.0
2626
with:
2727
path: ./artifacts
2828

0 commit comments

Comments
 (0)