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