Unverified Commit 391e49ca authored by John DiSanti's avatar John DiSanti Committed by GitHub
Browse files

Make psuedo jobs fail if dependency jobs failed in CI (#1078)

parent 232d09f4
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -126,11 +126,15 @@ jobs:
  # the myriad of test matrix combinations into GitHub's protected branch rules
  require-smoke-tests:
    needs: smoke-test
    # Run this job even if its dependency jobs fail
    if: always()
    runs-on: ubuntu-latest
    name: Smoke Test Matrix Success
    steps:
    - name: Run
      run: echo "We should only get this far if the smoke-test matrix succeeded."
    - name: Verify jobs succeeded
      uses: re-actors/alls-green@3a2de129f0713010a71314c74e33c0e3ef90e696
      with:
        jobs: ${{ toJSON(needs) }}

  standalone-integration-tests-check:
    name: Standalone Integration Tests - cargo check
+6 −2
Original line number Diff line number Diff line
@@ -130,11 +130,15 @@ jobs:
  # the myriad of test matrix combinations into GitHub's protected branch rules
  require-rust-tests:
    needs: rust-tests
    # Run this job even if its dependency jobs fail
    if: always()
    runs-on: ubuntu-latest
    name: Rust Tests Matrix Success
    steps:
    - name: Run
      run: echo "We should only get this far if the rust-tests matrix succeeded."
    - name: Verify jobs succeeded
      uses: re-actors/alls-green@3a2de129f0713010a71314c74e33c0e3ef90e696
      with:
        jobs: ${{ toJSON(needs) }}

  runtime-bundle:
    name: Produce smithy-rs runtime bundle