From cd002c6400b78c18572eddba7eb58664972d6b65 Mon Sep 17 00:00:00 2001 From: Maycon Santos Date: Sat, 8 Apr 2023 11:03:31 +0200 Subject: [PATCH] building a test bin --- .github/workflows/golang-test-windows.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/golang-test-windows.yml b/.github/workflows/golang-test-windows.yml index 6b6daf8e8..21a8e7ed5 100644 --- a/.github/workflows/golang-test-windows.yml +++ b/.github/workflows/golang-test-windows.yml @@ -40,6 +40,9 @@ jobs: - name: Install sysinternals run: choco install -y --no-progress sysinternals - - run: PsExec64 -accepteula -s powershell.exe -command "ipconfig" + - name: Generate Iface Test bin + run: go test -c -o iface-testing.bin ./iface/ + - name: accept eula + run: PsExec64 -accepteula -s ipconfig - name: Test - run: PsExec64 -accepteula -s powershell.exe -command "go test -timeout 5m -p 1 ${{ github.workspace }}\iface\..." \ No newline at end of file + run: PsExec64 -s .\iface-testing.bin \ No newline at end of file