Skip to content

Commit aacdd09

Browse files
authored
Refactoring/728 update to ptb 6.0.0 (#729)
* Update workflows to PTB 6.0.0 * Add auto-generated entries to the .gitattributes
1 parent 5aaab08 commit aacdd09

File tree

12 files changed

+59
-24
lines changed

12 files changed

+59
-24
lines changed

.gitattributes

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
poetry.lock linguist-generated=true
1+
# Core Data and Locks
2+
poetry.lock linguist-generated=true
23
exasol/toolbox/version.py linguist-generated=true
3-
doc/changes/changelog.md linguist-generated=true
4+
doc/changes/changelog.md linguist-generated=true
45
.github/actions/python-environment/ext/get_poetry.py linguist-generated=true
6+
7+
# PTB GitHub Workflows (CI/CD & Publishing)
8+
.github/workflows/build-and-publish.yml linguist-generated=true
9+
.github/workflows/cd.yml linguist-generated=true
10+
.github/workflows/check-release-tag.yml linguist-generated=true
11+
.github/workflows/ci.yml linguist-generated=true
12+
.github/workflows/gh-pages.yml linguist-generated=true
13+
.github/workflows/matrix-*.yml linguist-generated=true
14+
.github/workflows/pr-merge.yml linguist-generated=true
15+
.github/workflows/report.yml linguist-generated=true

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

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/checks.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
- name: Set up Python & Poetry Environment
1818
id: set-up-python-and-poetry-environment
19-
uses: exasol/python-toolbox/.github/actions/python-environment@v5
19+
uses: exasol/python-toolbox/.github/actions/python-environment@v6
2020
with:
2121
python-version: "3.10"
2222
poetry-version: "2.3.0"
@@ -37,7 +37,7 @@ jobs:
3737

3838
- name: Set up Python & Poetry Environment
3939
id: set-up-python-and-poetry-environment
40-
uses: exasol/python-toolbox/.github/actions/python-environment@v5
40+
uses: exasol/python-toolbox/.github/actions/python-environment@v6
4141
with:
4242
python-version: "3.10"
4343
poetry-version: "2.3.0"
@@ -63,7 +63,7 @@ jobs:
6363

6464
- name: Set up Python & Poetry Environment
6565
id: set-up-python-and-poetry-environment
66-
uses: exasol/python-toolbox/.github/actions/python-environment@v5
66+
uses: exasol/python-toolbox/.github/actions/python-environment@v6
6767
with:
6868
python-version: "3.10"
6969
poetry-version: "2.3.0"
@@ -88,7 +88,7 @@ jobs:
8888

8989
- name: Set up Python & Poetry Environment
9090
id: set-up-python-and-poetry-environment
91-
uses: exasol/python-toolbox/.github/actions/python-environment@v5
91+
uses: exasol/python-toolbox/.github/actions/python-environment@v6
9292
with:
9393
python-version: ${{ matrix.python-versions }}
9494
poetry-version: "2.3.0"
@@ -124,7 +124,7 @@ jobs:
124124

125125
- name: Set up Python & Poetry Environment
126126
id: set-up-python-and-poetry-environment
127-
uses: exasol/python-toolbox/.github/actions/python-environment@v5
127+
uses: exasol/python-toolbox/.github/actions/python-environment@v6
128128
with:
129129
python-version: ${{ matrix.python-versions }}
130130
poetry-version: "2.3.0"
@@ -150,7 +150,7 @@ jobs:
150150

151151
- name: Set up Python & Poetry Environment
152152
id: set-up-python-and-poetry-environment
153-
uses: exasol/python-toolbox/.github/actions/python-environment@v5
153+
uses: exasol/python-toolbox/.github/actions/python-environment@v6
154154
with:
155155
python-version: ${{ matrix.python-versions }}
156156
poetry-version: "2.3.0"
@@ -179,7 +179,7 @@ jobs:
179179

180180
- name: Set up Python & Poetry Environment
181181
id: set-up-python-and-poetry-environment
182-
uses: exasol/python-toolbox/.github/actions/python-environment@v5
182+
uses: exasol/python-toolbox/.github/actions/python-environment@v6
183183
with:
184184
python-version: "3.10"
185185
poetry-version: "2.3.0"
@@ -201,7 +201,7 @@ jobs:
201201

202202
- name: Set up Python & Poetry Environment
203203
id: set-up-python-and-poetry-environment
204-
uses: exasol/python-toolbox/.github/actions/python-environment@v5
204+
uses: exasol/python-toolbox/.github/actions/python-environment@v6
205205
with:
206206
python-version: "3.10"
207207
poetry-version: "2.3.0"
@@ -222,7 +222,7 @@ jobs:
222222

223223
- name: Set up Python & Poetry Environment
224224
id: set-up-python-and-poetry-environment
225-
uses: exasol/python-toolbox/.github/actions/python-environment@v5
225+
uses: exasol/python-toolbox/.github/actions/python-environment@v6
226226
with:
227227
python-version: "3.10"
228228
poetry-version: "2.3.0"
@@ -245,13 +245,11 @@ jobs:
245245
- name: Check out Repository
246246
id: check-out-repository
247247
uses: actions/checkout@v6
248-
# The PTB has unit tests which require the fetch-depth to be 0.
249248
with:
250249
fetch-depth: 0
251-
252250
- name: Set up Python & Poetry Environment
253251
id: set-up-python-and-poetry-environment
254-
uses: exasol/python-toolbox/.github/actions/python-environment@v5
252+
uses: exasol/python-toolbox/.github/actions/python-environment@v6
255253
with:
256254
python-version: ${{ matrix.python-versions }}
257255
poetry-version: "2.3.0"

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/matrix-all.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/matrix-exasol.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/matrix-python.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/report.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/slow-checks.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,14 @@ jobs:
2929

3030
- name: Set up Python & Poetry Environment
3131
id: set-up-python-and-poetry-environment
32-
uses: exasol/python-toolbox/.github/actions/python-environment@v5
32+
uses: exasol/python-toolbox/.github/actions/python-environment@v6
3333
with:
3434
python-version: ${{ matrix.python-version }}
3535
poetry-version: "2.3.0"
3636

3737
- name: Run Integration Tests
3838
id: run-integration-tests
39-
run: poetry run -- nox -s test:integration -- --coverage --db-version ${{ matrix.exasol-version }}
40-
39+
run: poetry run -- nox -s test:integration -- --coverage
4140
- name: Upload Artifacts
4241
id: upload-artifacts
4342
uses: actions/upload-artifact@v6

0 commit comments

Comments
 (0)