Skip to content

Commit 5422936

Browse files
Fix e2e test output logs on failure
1 parent 47381fb commit 5422936

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/e2e_tests.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ jobs:
121121
echo "Running e2e tests..."
122122
poetry run pytest -v -s ./tests/e2e -m kind > ${CODEFLARE_TEST_OUTPUT_DIR}/pytest_output.log 2>&1
123123
124-
kubectl config use-context kind-cluster
124+
- name: Switch to kind-cluster context to print logs
125+
run: kubectl config use-context kind-cluster
125126

126127
- name: Print CodeFlare operator logs
127128
if: always() && steps.deploy.outcome == 'success'

0 commit comments

Comments
 (0)