Skip to content

Commit 8eff28d

Browse files
committed
fixup! Add experimental e2e tests
Signed-off-by: Todd Short <[email protected]>
1 parent 07a1b51 commit 8eff28d

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.github/workflows/e2e.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,13 @@ jobs:
6868
name: experimental-e2e-artifacts
6969
path: /tmp/artifacts/
7070

71+
- uses: codecov/[email protected]
72+
with:
73+
disable_search: true
74+
files: coverage/e2e.out
75+
flags: experimental-e2e
76+
token: ${{ secrets.CODECOV_TOKEN }}
77+
7178
upgrade-e2e:
7279
runs-on: ubuntu-latest
7380
steps:

test/experimental-e2e/experimental_e2e_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ import (
1111
"sigs.k8s.io/controller-runtime/pkg/client"
1212

1313
"github.com/operator-framework/operator-controller/internal/operator-controller/scheme"
14+
"github.com/operator-framework/operator-controller/test/utils"
15+
)
16+
17+
const (
18+
artifactName = "operator-controller-experimental-e2e"
1419
)
1520

1621
var (
@@ -31,4 +36,5 @@ func TestMain(m *testing.M) {
3136

3237
func TestNoop(t *testing.T) {
3338
t.Log("Running experimental-e2e tests")
39+
defer utils.CollectTestArtifacts(t, artifactName, c, cfg)
3440
}

0 commit comments

Comments
 (0)