From f7f7ca76472a61ac544a2b39c0ec2cc77983c16d Mon Sep 17 00:00:00 2001 From: Pablo Chacin Date: Fri, 21 Feb 2025 20:05:51 +0100 Subject: [PATCH] debug binary execution in windows Signed-off-by: Pablo Chacin --- .github/workflows/test.yml | 2 +- cmd/state_internal_test.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9972293..f285962 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,7 +33,7 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - name: Test - run: go test -race -count 1 ./... + run: go test -v -race -count 1 ./... - name: Coverage Test if: ${{ matrix.platform == 'ubuntu-latest' && github.ref_name == 'main' }} diff --git a/cmd/state_internal_test.go b/cmd/state_internal_test.go index c4149c4..5e7663c 100644 --- a/cmd/state_internal_test.go +++ b/cmd/state_internal_test.go @@ -139,6 +139,8 @@ func Test_interal_state(t *testing.T) { require.True(t, exists(t, st.cmd.Path)) + t.Logf("Running k6 from %s", st.cmd.Path) + err = st.runE(nil, nil) require.NoError(t, err)