Skip to content

Commit 3451af6

Browse files
committed
trying to not use xvfb because headlesss chrome should Just Work tm (or at least checking if that's the case)
1 parent 8ddbe04 commit 3451af6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/makefile.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,17 +89,13 @@ jobs:
8989
9090
- name: Run tests
9191
run: |
92-
# Set up virtual display for headless browser testing
93-
export DISPLAY=:99
94-
Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
95-
9692
# Wait a bit more for everything to be ready
9793
sleep 3
9894
9995
# Run tests based on event type
10096
if [ "${{ github.event_name }}" = "pull_request" ]; then
10197
echo "Running PR tests (excluding modules)"
102-
npx mocha --grep modules --invert
98+
npm run mocha -- --grep modules --invert
10399
else
104100
echo "Running all tests"
105101
npm run mocha -- -g pyret-init

0 commit comments

Comments
 (0)