parent
1dae21d8c7
commit
a855596b9e
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
@ -33,23 +33,14 @@ jobs:
|
||||||
extensions: mbstring
|
extensions: mbstring
|
||||||
coverage: none
|
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
|
- name: Install dependencies
|
||||||
run: composer install --prefer-dist --no-interaction --no-suggest
|
run: composer install --prefer-dist --no-interaction --no-suggest
|
||||||
|
|
||||||
- name: Start the local web server
|
- name: Start the local web server
|
||||||
run: symfony serve -d
|
run: php -S localhost:8000 -t web 2>&1 &
|
||||||
if: matrix.test-types == 'functional'
|
if: matrix.test-types == 'functional'
|
||||||
|
|
||||||
- name: Execute tests
|
- name: Execute tests
|
||||||
run: vendor/bin/phpunit --testdox --colors=always --testsuite=${{ matrix.test-types }}
|
run: vendor/bin/phpunit --testdox --colors=always --testsuite=${{ matrix.test-types }}
|
||||||
env:
|
env:
|
||||||
SIMPLETEST_BASE_URL: http://localhost:8000
|
SIMPLETEST_BASE_URL: http://localhost:8000
|
||||||
|
|
||||||
- name: Stop the local web server
|
|
||||||
run: symfony server:stop
|
|
||||||
if: matrix.test-types == 'functional'
|
|
||||||
|
|
Loading…
Reference in a new issue