From a97d7749bd4fbea3ed08132b9b8f51c79f2be92b Mon Sep 17 00:00:00 2001 From: Ludovico Bianchi Date: Wed, 21 Feb 2024 17:32:40 -0600 Subject: [PATCH] Tweak names --- .github/workflows/check-submission.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/check-submission.yml b/.github/workflows/check-submission.yml index 7c25e59..650cce3 100644 --- a/.github/workflows/check-submission.yml +++ b/.github/workflows/check-submission.yml @@ -1,3 +1,5 @@ +name: US-RSE'24 CI + on: workflow_call: @@ -61,6 +63,7 @@ on: jobs: image-build: + name: Build image (repo2docker) runs-on: ubuntu-latest outputs: image: ${{ steps.repo2docker.outputs.IMAGE_SHA_NAME }} @@ -92,8 +95,8 @@ jobs: IMAGE_NAME: ${{ inputs.repository }} MYBINDERORG_TAG: ${{ inputs.ref }} - container-startup: - name: Check that container starts up without errors + container-launch: + name: Test container launch if: inputs.test-container runs-on: ubuntu-latest needs: [image-build] @@ -133,7 +136,7 @@ jobs: if: inputs.binder-cache-branch needs: [image-build] outputs: - ref: ${{ steps.update-repo.branch-name }} + ref: ${{ steps.update-repo.outputs.branch-name }} steps: - uses: actions/checkout@v4 @@ -162,13 +165,13 @@ jobs: report: name: Report status - needs: [image-build, container-startup, binder-cache] + needs: [image-build, container-launch, binder-cache] runs-on: ubuntu-latest if: ${{ always() }} steps: - name: Report build failure - if: ${{ !( needs.image-build.result == 'success' && needs.container-startup.result == 'success') }} + if: ${{ !( needs.image-build.result == 'success' && needs.container-launch.result == 'success') }} run: | cat << EOF > $GITHUB_STEP_SUMMARY The CI run was not successful for ${{ inputs.repository }}@${{ inputs.ref }}. @@ -180,7 +183,7 @@ jobs: EOF - name: Report build success - if: needs.image-build.result == 'success' && needs.container-startup.result == 'success' + if: needs.image-build.result == 'success' && needs.container-launch.result == 'success' run: | cat << 'EOF' >> $GITHUB_STEP_SUMMARY The CI build was successful for ${{ inputs.repository }}@${{ inputs.ref }}!