diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7d9545e..c0cae90 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,11 +36,11 @@ jobs: run: | pytest --cov=amlrt-project - name: pytorch-end2end-single - working-directory: ./fancy_new_project/examples/local + working-directory: ./fancy_new_project run: | ./tests/end2end_pytorch/run_single.sh - name: pytorch-end2end-orion - working-directory: ./fancy_new_project/examples/local_orion + working-directory: ./fancy_new_project run: | ./tests/end2end_pytorch/run_orion.sh - name: type checking diff --git a/tests/end2end_pytorch/run_orion.sh b/tests/end2end_pytorch/run_orion.sh index be99cfd..c8a7533 100755 --- a/tests/end2end_pytorch/run_orion.sh +++ b/tests/end2end_pytorch/run_orion.sh @@ -1,6 +1,7 @@ # exit at the first error set -e +cd ./examples/local_orion sh run.sh mv orion_working_dir orion_working_dir_OLD # re-run the example to check reproducibility diff --git a/tests/end2end_pytorch/run_single.sh b/tests/end2end_pytorch/run_single.sh index b2d9717..fcdd8fa 100755 --- a/tests/end2end_pytorch/run_single.sh +++ b/tests/end2end_pytorch/run_single.sh @@ -1,6 +1,7 @@ # exit at the first error set -e +cd ./examples/local sh run.sh mv output output_OLD # re-run the example to check reproducibility