Skip to content

Commit

Permalink
ci: debug with microsam setting
Browse files Browse the repository at this point in the history
  • Loading branch information
qin-yu committed Dec 17, 2024
1 parent abd8b00 commit 867a331
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/build-and-test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
uses: tlambert03/setup-qt-libs@v1

# Start X virtual framebuffer for GUI testing
- name: Start Xvfb
run: |
/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: Start Xvfb
# run: |
# /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

# Set the PlantSeg version based on the current date and time
- name: Set PlantSeg Version
Expand Down Expand Up @@ -59,11 +59,13 @@ jobs:
# Run tests using pytest
- name: Run Tests with Pytest
shell: bash -l {0}
run: |
conda activate plant-seg
pytest -sv --cov --cov-report=xml
conda deactivate
uses: aganders3/headless-gui@v2
with:
shell: bash -l {0}
run: |
conda activate plant-seg
pytest -sv --cov --cov-report=xml
conda deactivate
# Upload Codecov report
- name: Upload coverage reports to Codecov
Expand Down

0 comments on commit 867a331

Please sign in to comment.