This is an automated email from the ASF dual-hosted git repository.

dsmiley pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/main by this push:
     new 3c78fc0c7d8 .github tests-via-crave.yml: CI=true (#4611)
3c78fc0c7d8 is described below

commit 3c78fc0c7d8e33f2a5fae1966e70d9896be139d3
Author: David Smiley <[email protected]>
AuthorDate: Sun Jul 5 01:11:04 2026 -0400

    .github tests-via-crave.yml: CI=true (#4611)
    
    Ensure GHA based Crave runs set CI env.
    Going to change crave to not assume this default in general, e.g. for user 
invoked interaction.
---
 .github/workflows/tests-via-crave.yml | 40 +++++++++++++++++------------------
 1 file changed, 20 insertions(+), 20 deletions(-)

diff --git a/.github/workflows/tests-via-crave.yml 
b/.github/workflows/tests-via-crave.yml
index 1623ed29f33..14d09a964b1 100644
--- a/.github/workflows/tests-via-crave.yml
+++ b/.github/workflows/tests-via-crave.yml
@@ -26,23 +26,23 @@ jobs:
       CRAVE_WORKSPACE: /crave-devspaces/pipeline/prs/${{ 
github.event.pull_request.number }}
 
     steps:
-    - name: Destroy previous clone
-      run: crave clone destroy -y ${CRAVE_WORKSPACE} || echo "Clone did not 
exist"
-      continue-on-error: true
-    - name: Crave clone sources
-      run: crave clone create --projectID 39 ${CRAVE_WORKSPACE}
-    - name: Checkout the correct branch
-      run: |
-        git -C ${CRAVE_WORKSPACE} fetch origin ${GITHUB_REF}:${GITHUB_REF}
-        git -C ${CRAVE_WORKSPACE} checkout ${GITHUB_REF}
-    - name: Initialize, build, test
-      run: |
-        cd ${CRAVE_WORKSPACE}
-        crave run --clean --message "PR: ${GITHUB_REF_NAME}" -- ./gradlew 
--console=plain test
-    - name: Cleanup
-      if: ${{ always() }}
-      run: |
-        pushd ${CRAVE_WORKSPACE}
-        crave stop --all
-        popd
-        crave clone destroy -y ${CRAVE_WORKSPACE}
+      - name: Destroy previous clone
+        run: crave clone destroy -y ${CRAVE_WORKSPACE} || echo "Clone did not 
exist"
+        continue-on-error: true
+      - name: Crave clone sources
+        run: crave clone create --projectID 39 ${CRAVE_WORKSPACE}
+      - name: Checkout the correct branch
+        run: |
+          git -C ${CRAVE_WORKSPACE} fetch origin ${GITHUB_REF}:${GITHUB_REF}
+          git -C ${CRAVE_WORKSPACE} checkout ${GITHUB_REF}
+      - name: Initialize, build, test
+        run: |
+          cd ${CRAVE_WORKSPACE}
+          crave run --clean --message "PR: ${GITHUB_REF_NAME}" -- env CI=true 
./gradlew --console=plain test
+      - name: Cleanup
+        if: ${{ always() }}
+        run: |
+          pushd ${CRAVE_WORKSPACE}
+          crave stop --all
+          popd
+          crave clone destroy -y ${CRAVE_WORKSPACE}

Reply via email to