From a855596b9e59fc2b78b0bc2f2c05a184bb1397b7 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 15 May 2020 12:17:58 +0100 Subject: [PATCH] Remove Symfony server from CI Fixes #42 --- .github/workflows/ci.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index db0be5e..b5d94d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,23 +33,14 @@ jobs: extensions: mbstring coverage: none - - name: Install the Symfony local web server - run: | - wget https://get.symfony.com/cli/installer -O - | bash - mv /home/runner/.symfony/bin/symfony /usr/local/bin/symfony - - name: Install dependencies run: composer install --prefer-dist --no-interaction --no-suggest - name: Start the local web server - run: symfony serve -d + run: php -S localhost:8000 -t web 2>&1 & if: matrix.test-types == 'functional' - name: Execute tests run: vendor/bin/phpunit --testdox --colors=always --testsuite=${{ matrix.test-types }} env: SIMPLETEST_BASE_URL: http://localhost:8000 - - - name: Stop the local web server - run: symfony server:stop - if: matrix.test-types == 'functional'