Skip to content

Commit

Permalink
show logs
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore committed May 24, 2024
1 parent 0564ac0 commit 3fec46f
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/gui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,21 @@ jobs:
- name: Start the server
run: |
npm install --prefix server
node server/app.js &
node server/app.js > server.log 2>&1 &
- name: Start the testrunner
run: |
npm install --prefix testrunner
node testrunner/app.js &
node testrunner/app.js > testrunner.log 2>&1 &
- name: Run a test
run: |
git clone https://github.com/sitespeedio/sitespeed.io.git
cd sitespeed.io
npm install
bin/sitespeed.js ../test/addatest.mjs --multi -n 1 --headless
bin/sitespeed.js ../test/addatest.mjs --multi -n 1 --headless
- name: Display Logs
run: |
cd ..
echo "------ Server log:"
cat server.log
echo "------ Testrunner log:"
cat program.log

0 comments on commit 3fec46f

Please sign in to comment.