Skip to content

Commit

Permalink
ci: remove caffe model tests
Browse files Browse the repository at this point in the history
Signed-off-by: deadprogram <ron@hybridgroup.com>
  • Loading branch information
deadprogram committed Sep 9, 2024
1 parent 6f2f859 commit af64c6a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ jobs:
run: "test -z $(gofmt -l .) || gofmt -d ."
- name: Install dependencies
run: apt-get update -yqq && apt-get install xvfb unzip -y
- name: Install Googlenet test model
run: |
mkdir -p ${GITHUB_WORKSPACE}/testdata
curl -sL https://raw.githubusercontent.com/opencv/opencv_extra/master/testdata/dnn/bvlc_googlenet.prototxt > ${GITHUB_WORKSPACE}/testdata/bvlc_googlenet.prototxt
curl -sL http://dl.caffe.berkeleyvision.org/bvlc_googlenet.caffemodel > ${GITHUB_WORKSPACE}/testdata/bvlc_googlenet.caffemodel
- name: Install WeChat test model
run: |
mkdir -p ${GITHUB_WORKSPACE}/testdata
Expand All @@ -43,7 +38,6 @@ jobs:
run: xvfb-run -a --error-file /var/log/xvfb_error.log --server-args="-screen 0 1024x768x24 +extension RANDR" go test -v -coverprofile=/tmp/coverage.out -count=1 -tags matprofile .
env:
DISPLAY: 99.0
GOCV_CAFFE_TEST_FILES: ${{ github.workspace }}/testdata
GOCV_TENSORFLOW_TEST_FILES: ${{ github.workspace }}/testdata
NO_GOCV_ONNX_TEST_FILES: ${{ github.workspace }}/testdata
- name: Run contrib tests
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ jobs:
cache: true
- name: Checkout
uses: actions/checkout@v4
- name: Install Googlenet test model
run: |
mkdir -p ${GITHUB_WORKSPACE}/testdata
curl -sL https://raw.githubusercontent.com/opencv/opencv_extra/master/testdata/dnn/bvlc_googlenet.prototxt > ${GITHUB_WORKSPACE}/testdata/bvlc_googlenet.prototxt
curl -sL http://dl.caffe.berkeleyvision.org/bvlc_googlenet.caffemodel > ${GITHUB_WORKSPACE}/testdata/bvlc_googlenet.caffemodel
- name: Install WeChat test model
run: |
mkdir -p ${GITHUB_WORKSPACE}/testdata
Expand All @@ -51,7 +46,6 @@ jobs:
- name: Run main tests
run: go test -v -tags matprofile .
env:
GOCV_CAFFE_TEST_FILES: ${{ github.workspace }}/testdata
GOCV_TENSORFLOW_TEST_FILES: ${{ github.workspace }}/testdata
NO_GOCV_ONNX_TEST_FILES: ${{ github.workspace }}/testdata
- name: Run contrib tests
Expand Down

0 comments on commit af64c6a

Please sign in to comment.