From 2e2157f55952e2c9c74b39bd5f161b800aee3bc3 Mon Sep 17 00:00:00 2001 From: Vittorio Parrella Date: Wed, 18 Sep 2024 08:20:58 +0200 Subject: [PATCH] fix: unit tests windows build check ci --- .github/workflows/integration.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index b2e3c92..7f986cb 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -459,8 +459,8 @@ jobs: do pushd $i cp -r $WORKSPACE/windivert/x64/* . - go test -v -gcflags=-l -cover -c -o qpep.$(basename $PWD).test &> NUL || true - ./qpep.$(basename $PWD).test -test.v -test.timeout 5m -test.coverprofile=$WORKSPACE/cover/$(basename $PWD).out &> unit_tests.out || true + go test -v -gcflags=-l -cover -c -o qpep.$(basename $PWD).test > unit_tests.out 2>&1 || true + ./qpep.$(basename $PWD).test -test.v -test.timeout 5m -test.coverprofile=$WORKSPACE/cover/$(basename $PWD).out >> unit_tests.out 2>&1 || true grep -E "PASS|FAIL|SKIP" unit_tests.out || true cat unit_tests.out | go-junit-report > $WORKSPACE/unit/$(basename $PWD).xml popd