Skip to content

Commit

Permalink
fixed the test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrequ committed Jan 17, 2025
1 parent 84e831f commit 59b3b6e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test-arcjetCV.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ jobs:
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 || sudo apt-get install -y libegl-mesa0
x11-utils libxcb-cursor0 libopengl0 libegl1-mesa libgl1-mesa-glx \
libxrender1 libxtst6 libxi6 || sudo apt-get install -y libegl-mesa0
/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
- name: Install conda dependencies
Expand All @@ -42,11 +43,13 @@ jobs:
source ~/.bashrc
conda activate arcjetCV
conda install -c conda-forge pytest pytest-qt pytest-mock qt-main pytest-xvfb
python -m pip install -e .
python -m pip install -e .
python -c "import arcjetCV"
- name: Test with pytest
run: |
conda init bash
source ~/.bashrc
conda activate arcjetCV
pytest -s
export QT_QPA_PLATFORM=offscreen
pytest -s --maxfail=1 --disable-warnings

0 comments on commit 59b3b6e

Please sign in to comment.