File tree Expand file tree Collapse file tree 2 files changed +6
-16
lines changed Expand file tree Collapse file tree 2 files changed +6
-16
lines changed Original file line number Diff line number Diff line change 33
33
conda install orthority>=0.4.0
34
34
conda list
35
35
36
+ - name : Install OpenCV Linux dependencies
37
+ if : matrix.os == 'ubuntu-latest'
38
+ run : |
39
+ sudo apt-get update
40
+ sudo apt-get install -y libegl1 libopengl0
41
+
36
42
- name : Test CLI
37
43
timeout-minutes : 5
38
44
run : |
Original file line number Diff line number Diff line change 32
32
activate-environment : orthority-test
33
33
conda-solver : libmamba
34
34
35
- - name : Install dependencies
36
- # Note that conda-forge OpenCV 4.9 package has *GL dependencies that are not satisfied by
37
- # GitHub's Ubuntu image, so 'opencv-python-headless' is installed with pip below.
38
- run : |
39
- conda info
40
- conda install -c conda-forge rasterio click tqdm pyyaml fsspec requests aiohttp pytest pytest-cov
41
- pip install opencv-python-headless
42
- conda list
43
-
44
- - name : Install OpenCV Linux dependencies
45
- if : matrix.os == 'ubuntu-latest'
46
- run : |
47
- # Fix cv2 ImportError: 'libEGL.so.1: cannot open shared object file: No such file or directory'
48
- sudo apt-get update
49
- sudo apt-get install -y libegl1 libopengl0
50
-
51
35
- name : Run unit tests
52
36
run : |
53
37
python -m pytest --cov=orthority --cov-report=term-missing --cov-report=xml:coverage.xml ./tests
You can’t perform that action at this time.
0 commit comments