Skip to content

Commit

Permalink
fix ci by skipping
Browse files Browse the repository at this point in the history
  • Loading branch information
qin-yu committed Dec 17, 2024
1 parent fc54201 commit dcfbea2
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 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,13 +59,11 @@ jobs:
# Run tests using pytest
- name: Run Tests with Pytest
uses: aganders3/headless-gui@v2
with:
shell: bash -l {0}
run: |
conda activate plant-seg
pytest -sv --cov --cov-report=xml
conda deactivate
shell: bash -l {0}
run: |
conda activate plant-seg
pytest -s --cov --cov-report=xml
conda deactivate
# Upload Codecov report
- name: Upload coverage reports to Codecov
Expand Down

0 comments on commit dcfbea2

Please sign in to comment.