From 74001f13845c3b41ac3a62b482bcf299974dd4ad Mon Sep 17 00:00:00 2001 From: Uv Date: Tue, 5 Dec 2023 11:01:05 -0800 Subject: [PATCH] switch to the directory of the clone before beginning the test --- .github/workflows/tests-via-crave.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests-via-crave.yml b/.github/workflows/tests-via-crave.yml index 13bd91e5c9e4..374d7352adbc 100644 --- a/.github/workflows/tests-via-crave.yml +++ b/.github/workflows/tests-via-crave.yml @@ -21,6 +21,8 @@ jobs: run: git -C /crave-devspaces/pipeline/runs/${GITHUB_RUN_ID}_${GITHUB_RUN_NUMBER}/solr checkout ${GITHUB_HEAD_REF} || echo "${GITHUB_HEAD_REF} not present on solr repo, staying at main" continue-on-error: true - name: Initialize, build, test - run: crave run --clean + run: | + cd /crave-devspaces/pipeline/runs/${GITHUB_RUN_ID}_${GITHUB_RUN_NUMBER}/solr + crave run --clean - name: Delete Clone run: crave clone destroy -y /crave-devspaces/pipeline/runs/${GITHUB_RUN_ID}_${GITHUB_RUN_NUMBER}