Skip to content

Commit

Permalink
ci: increase wait time for the xvfb check, to reduce the chance of fa…
Browse files Browse the repository at this point in the history
…lse positives
  • Loading branch information
spytheman committed Mar 30, 2024
1 parent d49fd0f commit 13a2efd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/c2v_ci.yml
Expand Up @@ -109,8 +109,8 @@ jobs:
continue-on-error: true
run: |
Xvfb $DISPLAY -screen 0 800x600x24 -fbdir /var/tmp/ &
sleep 1; while [ ! -f /var/tmp/Xvfb_screen0 ]; do sleep 0.5; done # give xvfb time to start, even on slow CI runs
sleep 1; v gret -r ~/code/doom -t ./doom-regression-images/vgret.doom.toml -v ./doom-sample_images ./doom-regression-images
sleep 2; while [ ! -f /var/tmp/Xvfb_screen0 ]; do sleep 0.5; done # give xvfb time to start, even on slow CI runs
sleep 5; v gret -r ~/code/doom -t ./doom-regression-images/vgret.doom.toml -v ./doom-sample_images ./doom-regression-images
- name: Upload regression to imgur
if: steps.compare.outcome != 'success'
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gg_regressions_ci.yml
Expand Up @@ -44,8 +44,8 @@ jobs:
continue-on-error: true
run: |
Xvfb $DISPLAY -screen 0 1280x1024x24 -fbdir /var/tmp/ &
sleep 1; while [ ! -f /var/tmp/Xvfb_screen0 ]; do sleep 0.5; done # give xvfb time to start, even on slow CI runs
sleep 1; ./v gret -t ./gg-regression-images/vgret.v_examples.toml -v ./gg-sample_images ./gg-regression-images
sleep 2; while [ ! -f /var/tmp/Xvfb_screen0 ]; do sleep 0.5; done # give xvfb time to start, even on slow CI runs
sleep 5; ./v gret -t ./gg-regression-images/vgret.v_examples.toml -v ./gg-sample_images ./gg-regression-images
- name: Upload regression to imgur
if: steps.compare.outcome != 'success'
Expand Down

0 comments on commit 13a2efd

Please sign in to comment.