Skip to content

Commit 64b0652

Browse files
- Big changes.
1 parent 77e89ab commit 64b0652

File tree

222 files changed

+1313
-1298
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

222 files changed

+1313
-1298
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1649,7 +1649,7 @@ jobs:
16491649
16501650
- name: Run robot mocked functional tests
16511651
env:
1652-
PYTHONPATH: '${{ env.PYTHONPATH }}:/opt/test/python'
1652+
PYTHONPATH: '${{ env.PYTHONPATH }}:${{ github.workspace }}/test/python'
16531653
if: success() && env.CI_IS_EXPRESS != 'true' && matrix.platform == 'linux/amd64' && env.BUILD_IMAGE_REQUIRED == 'true' && matrix.db_backend == 'sqlite'
16541654
timeout-minutes: ${{ vars.DEFAULT_STEP_TIMEOUT_MIN == '' && 20 || vars.DEFAULT_STEP_TIMEOUT_MIN }}
16551655
run: |
@@ -1659,7 +1659,7 @@ jobs:
16591659
16601660
- name: Run POSTGRES BACKEND robot mocked functional tests
16611661
env:
1662-
PYTHONPATH: '${{ env.PYTHONPATH }}:/opt/test/python'
1662+
PYTHONPATH: '${{ env.PYTHONPATH }}:${{ github.workspace }}/test/python'
16631663
if: success() && env.CI_IS_EXPRESS != 'true' && matrix.platform == 'linux/amd64' && env.BUILD_IMAGE_REQUIRED == 'true' && matrix.db_backend == 'postgres_tcp'
16641664
timeout-minutes: ${{ vars.DEFAULT_LONG_STEP_TIMEOUT_MIN == '' && 40 || vars.DEFAULT_LONG_STEP_TIMEOUT_MIN }}
16651665
run: |
@@ -1691,7 +1691,7 @@ jobs:
16911691
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
16921692
AZURE_INTEGRATION_TESTING_SUB_ID: ${{ secrets.AZURE_INTEGRATION_TESTING_SUB_ID }}
16931693
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
1694-
PYTHONPATH: '${{ env.PYTHONPATH }}:/opt/test/python'
1694+
PYTHONPATH: '${{ env.PYTHONPATH }}:${{ github.workspace }}/test/python'
16951695
run: |
16961696
sudo rm -rf test/tmp || true
16971697
mkdir -p test/tmp

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ COPY --from=registrymock /opt/test/stackql ${TEST_ROOT_DIR}/
135135

136136
COPY --from=builder /work/stackql/build/stackql ${TEST_ROOT_DIR}/build/
137137

138-
RUN if [ "${RUN_INTEGRATION_TESTS}" = "1" ]; then robot ${TEST_ROOT_DIR}/test/robot/functional; fi
138+
RUN if [ "${RUN_INTEGRATION_TESTS}" = "1" ]; then env PYTHONPATH="$PYTHONPATH:${TEST_ROOT_DIR}/test/python" robot ${TEST_ROOT_DIR}/test/robot/functional; fi
139139

140140
FROM ubuntu:22.04 AS app
141141

docs/developer_guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ robot --variable SHOULD_RUN_DOCKER_EXTERNAL_TESTS:true -d test/robot/functional
8888

8989
### Manually Testing
9090

91-
Please see [the mock testing doco](/test/python/flask/README.md).
91+
Please see [the mock testing doco](/test/python/stackql_test_tooling/flask/README.md).
9292

9393

9494
## Debuggers

test/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name = "stackql-test-tooling"
33
version = "0.1.0"
44
description = "Some testing tooling for stackql"
55
authors = ["General Kroll <[email protected]>"]
6-
readme = "python/README.md"
6+
readme = "python/stackql_test_tooling/README.md"
77
packages = [
8-
{include = "*.py", from = "python", to = "stackql_test_tooling"},
9-
{include = "flask", from = "python", to = "stackql_test_tooling"}
8+
{include = "*.py", from = "python/stackql_test_tooling", to = "stackql_test_tooling"},
9+
{include = "flask", from = "python/stackql_test_tooling", to = "stackql_test_tooling"}
1010
]
1111

1212
[tool.poetry.dependencies]

test/python/flask/README.md

Lines changed: 0 additions & 97 deletions
This file was deleted.

0 commit comments

Comments
 (0)