ci(conf): add chrome
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Simon Vieille 2023-01-10 10:36:01 +01:00
parent bbe14360d9
commit 6c248452df
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -53,10 +53,10 @@ pipeline:
tests:
image: deblan/php:${PHP_VERSION}
commands:
- apt-get update && apt-get install -y unzip libnss3
- apt-get update && apt-get install -y unzip
- composer install --no-scripts --dev
- curl -o chromedriver_linux64.zip https://chromedriver.storage.googleapis.com/108.0.5359.71/chromedriver_linux64.zip && unzip -d drivers chromedriver_linux64.zip
- curl -o /tmp/chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && apt install /tmp/chrome.deb
- curl -o /tmp/chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && apt install -y /tmp/chrome.deb
- vendor/bin/bdi detect drivers
- symfony server:start --port=9080 --no-tls -d
- php bin/phpunit