Skip to content

Commit 8bbf21e

Browse files
Merge pull request #383 from ArangoGutierrez/v0212
Only generate ginkgo logs on gpu test
2 parents b286058 + aa57fc1 commit 8bbf21e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/e2e.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,11 @@ jobs:
5959
echo "${{ secrets.AWS_SSH_KEY }}" > "$e2e_ssh_key"
6060
chmod 600 "$e2e_ssh_key"
6161
export E2E_SSH_KEY="$e2e_ssh_key"
62-
make -f tests/Makefile test GINKGO_ARGS="--label-filter='${{ matrix.label }}'"
62+
if [ "${{ matrix.label }}" = "default" ]; then \
63+
make -f tests/Makefile test GINKGO_ARGS="--label-filter='${{ matrix.label }}' --json-report ginkgo.json"; \
64+
else \
65+
make -f tests/Makefile test GINKGO_ARGS="--label-filter='${{ matrix.label }}'"; \
66+
fi
6367
6468
- name: Archive Ginkgo logs
6569
uses: actions/upload-artifact@v4

tests/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ test: $(GINKGO_BIN)
2727
CI=$(CI) \
2828
ENV_FILE=$(ENV_FILE) \
2929
GINKGO_FOCUS=$(GINKGO_FOCUS) \
30-
$(GINKGO_BIN) $(GINKGO_ARGS) -v --json-report ginkgo.json ./tests/...
30+
$(GINKGO_BIN) $(GINKGO_ARGS) -v ./tests/...
3131

3232
$(GINKGO_BIN):
3333
mkdir -p $(CURDIR)/bin

0 commit comments

Comments
 (0)