Skip to content

Commit

Permalink
Consolidate e2e CI jobs (#993)
Browse files Browse the repository at this point in the history
Signed-off-by: Mikalai Radchuk <mradchuk@redhat.com>
  • Loading branch information
m1kola committed Jul 1, 2024
1 parent 00eb488 commit f681af0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 31 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,19 @@ on:
- main

jobs:
extension-developer-e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-go@v5
with:
go-version-file: go.mod

- name: Run the extension developer e2e test
run: |
make extension-developer-e2e
e2e-kind:
runs-on: ubuntu-latest
steps:
Expand All @@ -21,14 +34,7 @@ jobs:
go-version-file: go.mod

- name: Run e2e tests
run: |
# By default make stops building on first non-zero exit code which
# in case of E2E tests will mean that code coverage will only be
# collected on successful runs. We want to collect coverage even
# after failing tests.
# With -k flag make will continue the build, but will return non-zero
# exit code in case of any errors.
ARTIFACT_PATH=/tmp/artifacts make test-e2e
run: ARTIFACT_PATH=/tmp/artifacts make test-e2e

- uses: cytopia/upload-artifact-retry-action@v0.1.7
if: failure()
Expand Down
23 changes: 0 additions & 23 deletions .github/workflows/operator-developer-e2e.yaml

This file was deleted.

0 comments on commit f681af0

Please sign in to comment.