Skip to content

Commit

Permalink
Install opencv in test runner and update code coverage install
Browse files Browse the repository at this point in the history
  • Loading branch information
cosminc98 committed Jan 27, 2024
1 parent aaaa260 commit 28637d5
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ jobs:
sudo apt-get update
sudo apt-get -y install cuda-toolkit-12-3
- name: Install OpenCV
run: |
sudo apt install -y libopencv-dev pkg-config
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
Expand Down Expand Up @@ -65,11 +69,18 @@ jobs:
with:
python-version: "3.10"

- name: Install CUDA tools
- name: Install CUDA toolkit
run: |
sudo apt update
sudo apt install nvidia-cuda-toolkit
sudo mkdir -p /usr/lib/x86_64-linux-gnu/nsight-compute/sections
sudo apt install -y wget
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb
sudo dpkg -i cuda-keyring_1.1-1_all.deb
sudo apt-get update
sudo apt-get -y install cuda-toolkit-12-3
- name: Install OpenCV
run: |
sudo apt install -y libopencv-dev pkg-config
- name: Install Python dependencies
run: |
Expand Down

0 comments on commit 28637d5

Please sign in to comment.