From b45ccc29e7e29fa1f1cf517d60777784d173e39f Mon Sep 17 00:00:00 2001 From: Mirko Bronzi Date: Mon, 23 Sep 2024 15:40:04 -0400 Subject: [PATCH] continuing changing folders... --- .github/workflows/ci.yml | 4 ++-- tests/end2end_pytorch/run_orion.sh | 1 + tests/end2end_pytorch/run_single.sh | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) 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