From 02a1f9aed002674a929540ad87998ac533e72f63 Mon Sep 17 00:00:00 2001 From: deadprogram Date: Mon, 9 Sep 2024 20:26:53 +0200 Subject: [PATCH] ci: run DNN tests on Windows Signed-off-by: deadprogram --- .github/workflows/windows.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 8f136d1e..97eab007 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -91,12 +91,12 @@ jobs: run: | curl -sL https://github.com/onnx/models/blob/master/vision/classification/inception_and_googlenet/googlenet/model/googlenet-9.onnx\?raw\=true > ./testdata/googlenet-9.onnx - name: Test GoCV - env: - GOCV_TENSORFLOW_TEST_FILES: ${{ github.workspace }}/testdata - NO_GOCV_ONNX_TEST_FILES: ${{ github.workspace }}/testdata run: | - go env + echo "GOCV_TENSORFLOW_TEST_FILES=${env:GITHUB_WORKSPACE}/testdata" >> $env:GITHUB_ENV + echo "NO_GOCV_ONNX_TEST_FILES=${env:GITHUB_WORKSPACE}/testdata" >> $env:GITHUB_ENV go test -v -tags="matprofile,customenv" . - name: Test GoCV Contrib run: | + echo "GOCV_TENSORFLOW_TEST_FILES=${env:GITHUB_WORKSPACE}/testdata" >> $env:GITHUB_ENV + echo "NO_GOCV_ONNX_TEST_FILES=${env:GITHUB_WORKSPACE}/testdata" >> $env:GITHUB_ENV go test -v -tags="matprofile,customenv" ./contrib