Skip to content

Commit

Permalink
Tweak names
Browse files Browse the repository at this point in the history
  • Loading branch information
lbianchi-lbl committed Feb 21, 2024
1 parent 62c17d4 commit a97d774
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/check-submission.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: US-RSE'24 CI

on:

workflow_call:
Expand Down Expand Up @@ -61,6 +63,7 @@ on:
jobs:

image-build:
name: Build image (repo2docker)
runs-on: ubuntu-latest
outputs:
image: ${{ steps.repo2docker.outputs.IMAGE_SHA_NAME }}
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 }}.
Expand All @@ -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 }}!
Expand Down

0 comments on commit a97d774

Please sign in to comment.