Skip to content

Commit ef86dcc

Browse files
author
Per Goncalves da Silva
committed
Try to extract labels with ginkgo command
Signed-off-by: Per Goncalves da Silva <[email protected]>
1 parent 5c0e1ea commit ef86dcc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ jobs:
6262
path: .
6363
- run: docker load < olm-image.tar
6464

65+
# install ginkgo
66+
- run: |
67+
echo "Installing ginkgo"
68+
GOBIN=$(pwd)/tools go install github.com/onsi/ginkgo/v2/ginkgo@$(cat go.mod | grep "github.com/onsi/ginkgo/v2" | awk '{ print $2 }')
69+
E2E_LABELS=$(./tools/ginkgo ./test/e2e | grep -o '\[.*\]' | sed 's/^\[\(.*\)\]$/\1/')
70+
6571
# set e2e environment variables
6672
# Set ginkgo output and parallelism
6773
- run: echo "GINKGO_OPTS=-output-dir ${ARTIFACT_DIR} -junit-report junit_e2e.xml -nodes ${E2E_NODES}" >> $GITHUB_ENV

0 commit comments

Comments
 (0)