diff --git a/.github/workflows/gui.yml b/.github/workflows/gui.yml index 63c572a..b1b6984 100644 --- a/.github/workflows/gui.yml +++ b/.github/workflows/gui.yml @@ -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 \ No newline at end of file + 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 \ No newline at end of file