diff --git a/.github/workflows/e2e-tests.yaml b/.github/workflows/e2e-tests.yaml index 09487cb6..146b3d2a 100644 --- a/.github/workflows/e2e-tests.yaml +++ b/.github/workflows/e2e-tests.yaml @@ -5,6 +5,9 @@ on: - 'go.mod' - 'go.sum' - '**/*.go' + push: + branches: + - main env: TAR_PATH: docker-image.tar ARTIFACT_NAME: tar-docker-image @@ -86,5 +89,10 @@ jobs: if: always() steps: - name: Check E2E Test Matrix Status - if: needs.test.result != 'success' - run: exit 1 + run: | + echo "Test job result: ${{ needs.test.result }}" + if [[ "${{ needs.test.result }}" != "success" ]]; then + echo "E2E tests failed" + exit 1 + fi + echo "All E2E tests passed!" diff --git a/README.md b/README.md index 9e98daa0..a1978131 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Latest Release](https://img.shields.io/github/v/release/noble-assets/orbiter?style=flat&logo=github&logoColor=BAC3FF&label=latest&color=BAC3FF&labelColor=1E2457)](https://github.com/noble-assets/orbiter/releases/latest) [![License](https://img.shields.io/badge/License-BUSL-red?label=license&labelColor=1E2457&color=BAC3FF)](https://github.com/noble-assets/orbiter/blob/main/LICENSE) [![Unit Tests](https://img.shields.io/github/actions/workflow/status/noble-assets/orbiter/unit-tests.yaml?style=flat&logo=githubactions&logoColor=white&label=unit&labelColor=1E2457)](https://github.com/noble-assets/orbiter/actions/workflows/unit-tests.yaml) -[![E2E Tests](https://img.shields.io/github/actions/workflow/status/noble-assets/orbiter/e2e-tests.yaml?style=flat&logo=githubactions&logoColor=white&label=e2e&labelColor=1E2457&jobName=e2e-tests)](https://github.com/noble-assets/orbiter/actions/workflows/e2e-tests.yaml) +[![E2E Tests](https://img.shields.io/github/actions/workflow/status/noble-assets/orbiter/e2e-tests.yaml?branch=main&style=flat&logo=githubactions&logoColor=white&label=e2e&labelColor=1E2457)](https://github.com/noble-assets/orbiter/actions/workflows/e2e-tests.yaml) ![Banner](./.assets/banner.png)