From 75f77ec7a38df8ea8934133a8b41bdedaf4598d0 Mon Sep 17 00:00:00 2001 From: slawkens Date: Fri, 26 May 2023 09:11:04 +0200 Subject: [PATCH] Fix: Run PHP Server --- .github/workflows/cypress.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 2d35bf22..0ce69768 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -58,10 +58,13 @@ jobs: - name: Install Composer dependencies run: composer install --no-progress --prefer-dist --optimize-autoloader + - name: Run PHP server + run: nohup php -S localhost:8080 > php.log 2>&1 & + - name: Cypress Run uses: cypress-io/github-action@v5 env: - CYPRESS_URL: localhost + CYPRESS_URL: http://localhost:8080 CYPRESS_SERVER_PATH: otland-forgottenserver - name: Save screenshots