diff --git a/.github/workflows/erlang.yml b/.github/workflows/erlang.yml index 3d5bab7..43630a6 100644 --- a/.github/workflows/erlang.yml +++ b/.github/workflows/erlang.yml @@ -119,3 +119,27 @@ jobs: branch: ${{ github.head_ref || github.ref_name }} repo: ${{ github.event.pull_request.head.repo.full_name || github.repository }} secrets: inherit + buildExpected: + needs: [build, dialyzer, xref] + runs-on: ubuntu-24.04 + if: always() + steps: + - run: | + if [ "${{ needs.build.result }}" != "success" ] || \ + [ "${{ needs.dialyzer.result }}" != "success" ] || \ + [ "${{ needs.xref.result }}" != "success" ]; then + exit 1 + fi + testingExpected: + needs: [eunit, nova_request_app] + runs-on: ubuntu-24.04 + if: always() + steps: + - run: | + if [ "${{ needs.eunit.result }}" != "success" ]; then + exit 1 + fi + if [ "${{ needs.nova_request_app.result }}" != "success" ] && \ + [ "${{ needs.nova_request_app.result }}" != "skipped" ]; then + exit 1 + fi