Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Crave: switch to the directory of the clone before beginning the test (#2119)

uvatbc3dbca2fcc272
diff --git a/.github/workflows/tests-via-crave.yml b/.github/workflows/tests-via-crave.yml
index 13bd91e5c9e..374d7352adb 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}