From fc4d55e5dbfdbcda6fb22edad61e0a2b2c9d4e92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Sp=C3=B6rk?= Date: Sun, 8 Oct 2023 20:11:54 +0200 Subject: [PATCH] Add setup opencv step in test wf --- .github/workflows/test.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ba0bcf7..13b48fa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,6 +11,12 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Cache OpenCV + uses: UrielCh/opencv-cache-action@V1 + with: + branch: 4.x + BUILD_LIST: core + NO_CONTRIB: '' - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: @@ -31,6 +37,7 @@ jobs: . .venv/bin/activate python -m pip install --upgrade pip pip install flake8 + pip install -r requirements.txt pip install -r requirements_dev.txt if: steps.cache-venv.outputs.cache-hit != 'true' - name: Lint with flake8