Skip to content

Commit

Permalink
Add setup opencv step in test wf
Browse files Browse the repository at this point in the history
  • Loading branch information
DarwinsBuddy committed Oct 8, 2023
1 parent 43cccdd commit fc4d55e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit fc4d55e

Please sign in to comment.