Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
poetry.lock linguist-generated=true
# Core Data and Locks
poetry.lock linguist-generated=true
exasol/toolbox/version.py linguist-generated=true
doc/changes/changelog.md linguist-generated=true
doc/changes/changelog.md linguist-generated=true
.github/actions/python-environment/ext/get_poetry.py linguist-generated=true

# PTB GitHub Workflows (CI/CD & Publishing)
.github/workflows/build-and-publish.yml linguist-generated=true
.github/workflows/cd.yml linguist-generated=true
.github/workflows/check-release-tag.yml linguist-generated=true
.github/workflows/ci.yml linguist-generated=true
.github/workflows/gh-pages.yml linguist-generated=true
.github/workflows/matrix-*.yml linguist-generated=true
.github/workflows/pr-merge.yml linguist-generated=true
.github/workflows/report.yml linguist-generated=true
2 changes: 1 addition & 1 deletion .github/workflows/build-and-publish.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .github/workflows/check-release-tag.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 10 additions & 12 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

- name: Set up Python & Poetry Environment
id: set-up-python-and-poetry-environment
uses: exasol/python-toolbox/.github/actions/python-environment@v5
uses: exasol/python-toolbox/.github/actions/python-environment@v6
with:
python-version: "3.10"
poetry-version: "2.3.0"
Expand All @@ -37,7 +37,7 @@ jobs:

- name: Set up Python & Poetry Environment
id: set-up-python-and-poetry-environment
uses: exasol/python-toolbox/.github/actions/python-environment@v5
uses: exasol/python-toolbox/.github/actions/python-environment@v6
with:
python-version: "3.10"
poetry-version: "2.3.0"
Expand All @@ -63,7 +63,7 @@ jobs:

- name: Set up Python & Poetry Environment
id: set-up-python-and-poetry-environment
uses: exasol/python-toolbox/.github/actions/python-environment@v5
uses: exasol/python-toolbox/.github/actions/python-environment@v6
with:
python-version: "3.10"
poetry-version: "2.3.0"
Expand All @@ -88,7 +88,7 @@ jobs:

- name: Set up Python & Poetry Environment
id: set-up-python-and-poetry-environment
uses: exasol/python-toolbox/.github/actions/python-environment@v5
uses: exasol/python-toolbox/.github/actions/python-environment@v6
with:
python-version: ${{ matrix.python-versions }}
poetry-version: "2.3.0"
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:

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

- name: Set up Python & Poetry Environment
id: set-up-python-and-poetry-environment
uses: exasol/python-toolbox/.github/actions/python-environment@v5
uses: exasol/python-toolbox/.github/actions/python-environment@v6
with:
python-version: ${{ matrix.python-versions }}
poetry-version: "2.3.0"
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:

- name: Set up Python & Poetry Environment
id: set-up-python-and-poetry-environment
uses: exasol/python-toolbox/.github/actions/python-environment@v5
uses: exasol/python-toolbox/.github/actions/python-environment@v6
with:
python-version: "3.10"
poetry-version: "2.3.0"
Expand All @@ -201,7 +201,7 @@ jobs:

- name: Set up Python & Poetry Environment
id: set-up-python-and-poetry-environment
uses: exasol/python-toolbox/.github/actions/python-environment@v5
uses: exasol/python-toolbox/.github/actions/python-environment@v6
with:
python-version: "3.10"
poetry-version: "2.3.0"
Expand All @@ -222,7 +222,7 @@ jobs:

- name: Set up Python & Poetry Environment
id: set-up-python-and-poetry-environment
uses: exasol/python-toolbox/.github/actions/python-environment@v5
uses: exasol/python-toolbox/.github/actions/python-environment@v6
with:
python-version: "3.10"
poetry-version: "2.3.0"
Expand All @@ -245,13 +245,11 @@ jobs:
- name: Check out Repository
id: check-out-repository
uses: actions/checkout@v6
# The PTB has unit tests which require the fetch-depth to be 0.
with:
fetch-depth: 0

- name: Set up Python & Poetry Environment
id: set-up-python-and-poetry-environment
uses: exasol/python-toolbox/.github/actions/python-environment@v5
uses: exasol/python-toolbox/.github/actions/python-environment@v6
with:
python-version: ${{ matrix.python-versions }}
poetry-version: "2.3.0"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .github/workflows/matrix-all.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .github/workflows/matrix-exasol.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .github/workflows/matrix-python.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .github/workflows/report.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions .github/workflows/slow-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,14 @@ jobs:

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

- name: Run Integration Tests
id: run-integration-tests
run: poetry run -- nox -s test:integration -- --coverage --db-version ${{ matrix.exasol-version }}

run: poetry run -- nox -s test:integration -- --coverage
- name: Upload Artifacts
id: upload-artifacts
uses: actions/upload-artifact@v6
Expand Down
23 changes: 23 additions & 0 deletions .workflow-patcher.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
workflows:
- name: checks
step_customizations:
- action: REPLACE
job: run-unit-tests
step_id: check-out-repository
content:
# The PTB has unit tests which require the fetch-depth to be 0.
- name: Check out Repository
id: check-out-repository
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: slow-checks
step_customizations:
- action: REPLACE
job: run-integration-tests
step_id: run-integration-tests
content:
# The PTB integration tests do not need an Exasol Database
- name: Run Integration Tests
id: run-integration-tests
run: poetry run -- nox -s test:integration -- --coverage
4 changes: 4 additions & 0 deletions doc/changes/unreleased.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Unreleased

## Summary

## Refactoring

* #728: Updated to latest PTB workflows and added `.workflow-patcher.yml`