From f02272d6533d35ea321449313d882412f49b11a0 Mon Sep 17 00:00:00 2001 From: Pervakov Grigorii Date: Wed, 2 Dec 2026 13:58:12 +0100 Subject: [PATCH] chores: fix debug artifacts collection lost after migration on praktika --- .github/workflows/openshift-compat.yaml | 12 +++++++++++- test/testutil/utils.go | 4 ---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/openshift-compat.yaml b/.github/workflows/openshift-compat.yaml index faac396d3..a736b2476 100644 --- a/.github/workflows/openshift-compat.yaml +++ b/.github/workflows/openshift-compat.yaml @@ -92,13 +92,23 @@ jobs: - name: Run OLM compatibility e2e run: make test-compat-e2e-olm-openshift + - name: Upload test report + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7 + if: ${{ !cancelled() }} + with: + name: e2e-report-openshift-compat + path: "**/report/*" + if-no-files-found: error + overwrite: true + - name: Test Report uses: dorny/test-reporter@d1b5dff021aa968b288b02285a8bf47471c5928a # v3 + if: ${{ !cancelled() }} with: name: E2E tests badge-title: E2E tests reporter: java-junit - path: "**/report/*" + path: "**/report/*.xml" - name: Wipe workspace if: always() diff --git a/test/testutil/utils.go b/test/testutil/utils.go index a06d3286a..6db1067de 100644 --- a/test/testutil/utils.go +++ b/test/testutil/utils.go @@ -53,10 +53,6 @@ func Run(cmd *exec.Cmd) ([]byte, error) { dir, _ := GetProjectDir() cmd.Dir = dir - if err := os.Chdir(cmd.Dir); err != nil { - GinkgoWriter.Printf("chdir dir: %s\n", err) - } - cmd.Env = append(os.Environ(), "GO111MODULE=on") command := strings.Join(cmd.Args, " ") GinkgoWriter.Printf("running: %s\n", command)