-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
47 additions
and
65 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,35 +14,32 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup Python & Poetry Environment | ||
uses: exasol/python-toolbox/.github/actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
# - name: Setup Python & Poetry Environment | ||
# uses: ./.github/actions/prepare_poetry_env | ||
|
||
- name: Install Lua environment | ||
run: ./scripts/install_lua_environment.sh | ||
|
||
- name: Poetry install | ||
run: ./scripts/run_in_dev_env.sh poetry install | ||
|
||
- name: Run packaging update | ||
# re-generates / amalgate the lua script | ||
# refactor pre-commit as nox task | ||
# and call in pre-commit | ||
run: bash ./githooks/pre-commit | ||
|
||
- name: Show changes on working copy | ||
# check if re-generated lua script is still up-to-date | ||
run: git status --porcelain=v1 -uno | ||
|
||
- name: Show diff on working copy | ||
run: git diff --cached | ||
|
||
- name: Check if packaging changed | ||
run: | | ||
[ -z "$(git status --porcelain=v1 -uno 2>/dev/null)" ] | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup Python & Poetry Environment | ||
uses: exasol/python-toolbox/.github/actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install Lua environment | ||
run: ./scripts/install_lua_environment.sh | ||
|
||
- name: Poetry install | ||
run: ./scripts/run_in_dev_env.sh poetry install | ||
|
||
- name: Run packaging update | ||
# re-generates / amalgate the lua script | ||
# refactor pre-commit as nox task | ||
# and call in pre-commit | ||
run: bash ./githooks/pre-commit | ||
|
||
- name: Show changes on working copy | ||
# check if re-generated lua script is still up-to-date | ||
run: git status --porcelain=v1 -uno | ||
|
||
- name: Show diff on working copy | ||
run: git diff --cached | ||
|
||
- name: Check if packaging changed | ||
run: | | ||
[ -z "$(git status --porcelain=v1 -uno 2>/dev/null)" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,16 +37,18 @@ jobs: | |
- uses: actions/checkout@v4 | ||
|
||
- name: Setup Python & Poetry Environment | ||
uses: ./.github/actions/prepare_poetry_env | ||
uses: exasol/python-toolbox/.github/actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
# - name: Setup Python & Poetry Environment | ||
# uses: ./.github/actions/prepare_poetry_env | ||
|
||
- name: Install Lua environment | ||
run: poetry run -- nox -s install_lua_environment | ||
|
||
- name: Poetry install | ||
run: poetry run -- nox -s run_in_dev_env -- poetry install | ||
# Open issues: | ||
# - should/can we use PTB here? | ||
# - how to pass python version | ||
|
||
- name: Build language container | ||
run: poetry run -- nox -s build_language_container | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,13 +44,15 @@ jobs: | |
- uses: actions/checkout@v4 | ||
|
||
- name: Setup Python & Poetry Environment | ||
uses: ./.github/actions/prepare_poetry_env | ||
uses: exasol/python-toolbox/.github/actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
# - name: Setup Python & Poetry Environment | ||
# uses: ./.github/actions/prepare_poetry_env | ||
|
||
- name: Poetry install | ||
run: poetry run -- nox -s run_in_dev_env -- poetry install | ||
# Open issues: | ||
# - should/can we use PTB here? | ||
# - how to pass python version | ||
|
||
- name: Run Python integration tests without db | ||
run: poetry run -- nox -s run_python_test -- ${{ matrix.test-path.path }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,16 +17,18 @@ jobs: | |
- uses: actions/checkout@v4 | ||
|
||
- name: Setup Python & Poetry Environment | ||
uses: ./.github/actions/prepare_poetry_env | ||
uses: exasol/python-toolbox/.github/actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
# - name: Setup Python & Poetry Environment | ||
# uses: ./.github/actions/prepare_poetry_env | ||
|
||
- name: Install Lua environment | ||
run: poetry run -- nox -s install_lua_environment | ||
|
||
- name: Poetry install | ||
run: poetry run -- nox -s run_in_dev_env -- poetry install | ||
# Open issues: | ||
# - should/can we use PTB here? | ||
# - how to pass python version | ||
|
||
- name: Run Lua unit tests and static code analyzer | ||
run: poetry run -- nox -s run_in_dev_env -- ./scripts/lua_tests.sh | ||
|