diff --git a/.github/workflows/test-arcjetCV.yml b/.github/workflows/test-arcjetCV.yml index aea694e..f4dff61 100644 --- a/.github/workflows/test-arcjetCV.yml +++ b/.github/workflows/test-arcjetCV.yml @@ -22,20 +22,21 @@ jobs: uses: conda-incubator/setup-miniconda@v2 with: python-version: ${{ matrix.python-version }} - - name: Install apt dependencies ${{ matrix.os }} + - name: Install apt dependencies run: | sudo apt-get update - sudo apt install libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 x11-utils -y + sudo apt-get install -y libegl1 libdbus-1-3 libxkbcommon-x11-0 \ + libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 \ + libxcb-render-util0 libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0 \ + x11-utils libxcb-cursor0 libopengl0 libegl1-mesa /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1920x1200x24 -ac +extension GLX - sudo apt-get install libgl1 libopengl0 libgl-dev libegl-dev libx11-dev libxcb1-dev -y - name: Install conda dependencies run: | conda env create -f env/arcjetCV_env_cpu.yml conda init bash source ~/.bashrc - conda activate arcjetCV + conda activate arcjetcv conda install -c conda-forge pytest pytest-qt pytest-mock qt-main pytest-xvfb - python -m pip install --upgrade pip python -m pip install -e . python -c "import arcjetCV" - name: Test with pytest @@ -43,5 +44,5 @@ jobs: run: | conda init bash source ~/.bashrc - conda activate arcjetCV + conda activate arcjetcv pytest