Skip to content

Commit

Permalink
#16 added gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-andreyev committed Dec 23, 2020
1 parent 2f265cb commit 89de86d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
on: [ push ]
env:
DISPLAY: "99.0"
# DISPLAY: "99.0"
BROWSER_NAME: "chrome"
DRIVER_OPTIONS: '{"args":["headless", "no-sandbox","window-size=1024,768"]}'
CHROMEDRIVER_VERSION: "latest"
Expand Down Expand Up @@ -48,6 +48,7 @@ jobs:

- name: Install dependencies
run: |
apt-get install xvfb
composer update --no-interaction --prefer-dist
composer require symfony/phpunit-bridge
Expand All @@ -57,7 +58,7 @@ jobs:
- name: Start webdriver
shell: bash
run: |
$CHROMEWEBDRIVER/chromedriver --port=4444 --verbose --whitelisted-ips= &> ./logs/webdriver.log &
xvfb-run --auto-servernum $CHROMEWEBDRIVER/chromedriver --port=4444 --verbose --whitelisted-ips= &> ./logs/webdriver.log &
- name: Start webserver
shell: bash
Expand Down

0 comments on commit 89de86d

Please sign in to comment.