From 45ed957eab5595a86a5e9eb902f99ea883f05db8 Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Sun, 11 Dec 2022 11:16:49 -0800 Subject: [PATCH] Make CI logs better in case of hung tests --- .github/workflows/ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3d3fcfc..b6a8ce9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,10 @@ jobs: image="$(< ./test/integration/ci_image)" docker pull "${image}" docker tag "${image}" sleeping-beauty-integration-test:latest + # Pass -v because some tests might hang if they were implemented + # incorrectly, and debugging this will be a lot easier if you + # can see the incomplete log output. - name: Unit tests - run: "make test-unit" + run: "make test-unit TEST_FLAGS=-v" - name: Integration tests - run: "make test-integration" + run: "make test-integration TEST_FLAGS=-v"