Skip to content

Commit

Permalink
ci: run DNN tests on Windows
Browse files Browse the repository at this point in the history
Signed-off-by: deadprogram <[email protected]>
  • Loading branch information
deadprogram committed Sep 9, 2024
1 parent 02a1f9a commit 313252c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ jobs:
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
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
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
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

0 comments on commit 313252c

Please sign in to comment.