Skip to content

Commit f27a373

Browse files
committed
Reduce startup time so tests don't take as long to run
1 parent 6183797 commit f27a373

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/playwright.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ jobs:
3434
# Start up local copy of site
3535
bundle exec jekyll serve --detach
3636
37-
# Sleep for 10 secs to allow Jekyll to start
38-
sleep 10
37+
# Sleep for 5 secs to allow Jekyll to start
38+
startup_wait=5
39+
echo "Sleeping for $startup_wait seconds"
40+
sleep $startup_wait
3941
4042
# Run tests
4143
python -m pytest

0 commit comments

Comments
 (0)