diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 302575e8a..94ef31217 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -42,7 +42,7 @@ jobs: - name: Quick e2e smoke test run: | source $VENV - python tools/sandbox_e2e_smoke_test.py + python e2e_tests/sandbox_basic_test.py - name: Upload code coverage uses: codecov/codecov-action@v1.0.10 with: diff --git a/tools/sandbox_e2e_smoke_test.py b/e2e_tests/sandbox_basic_test.py similarity index 71% rename from tools/sandbox_e2e_smoke_test.py rename to e2e_tests/sandbox_basic_test.py index adc95f3d0..bde7bdfd7 100644 --- a/tools/sandbox_e2e_smoke_test.py +++ b/e2e_tests/sandbox_basic_test.py @@ -14,6 +14,11 @@ def launch_sandbox_script(): basic_app.run() +# The following line seems to be required in order to have this work in the MacOS part +# of our CI - despite the fact that Python docs say that this function +# "has no effect when invoked on any operating system other than Windows" 🤔 +multiprocessing.freeze_support() + process = multiprocessing.Process(target=launch_sandbox_script, daemon=True) process.start()