From a78c96ddc604b45d4bf88fed858a1696f850bff7 Mon Sep 17 00:00:00 2001 From: mlsmaycon Date: Wed, 3 Jun 2026 15:23:27 +0200 Subject: [PATCH] reorder steps in Windows test --- .github/workflows/golang-test-windows.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/golang-test-windows.yml b/.github/workflows/golang-test-windows.yml index 43398d75a..19ebc7ac1 100644 --- a/.github/workflows/golang-test-windows.yml +++ b/.github/workflows/golang-test-windows.yml @@ -71,15 +71,15 @@ jobs: $cmd = "$goExe test -tags=devcert -coverprofile=coverage.txt -timeout 10m -p 1 $($packages -join ' ') > test-out.txt 2>&1" Set-Content -Path "${{ github.workspace }}\run-tests.cmd" -Value $cmd + - name: test + run: PsExec64 -s -w ${{ github.workspace }} cmd.exe /c "${{ github.workspace }}\run-tests.cmd" + - name: test output + if: ${{ always() }} + run: Get-Content test-out.txt + - name: Upload coverage reports to Codecov uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 #v6.0.1 with: token: ${{ secrets.CODECOV_TOKEN }} slug: netbirdio/netbird flags: unit,client - - - name: test - run: PsExec64 -s -w ${{ github.workspace }} cmd.exe /c "${{ github.workspace }}\run-tests.cmd" - - name: test output - if: ${{ always() }} - run: Get-Content test-out.txt