Skip to content

Commit

Permalink
add linux specific installs for opencv dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dugalh committed May 16, 2024
1 parent 5d620b1 commit b1c3995
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/run-unit-tests_conda-forge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ jobs:
pip install opencv-python-headless
conda list
- name: Install OpenCV Linux dependencies
if: matrix.os == 'ubuntu-latest'
run: |
# Fix cv2 ImportError: 'libEGL.so.1: cannot open shared object file: No such file or directory'
sudo apt-get update
sudo apt-get install -y libegl1 libopengl0

- name: Run unit tests
run: |
python -m pytest --cov=orthority --cov-report=term-missing --cov-report=xml:coverage.xml ./tests

0 comments on commit b1c3995

Please sign in to comment.