Browse Source

github action

jqh 4 years ago
parent
commit
9584aedb5d
2 changed files with 3 additions and 3 deletions
  1. 1 1
      .env.testing
  2. 2 2
      .github/workflows/laravel5.yml

+ 1 - 1
.env.testing

@@ -2,7 +2,7 @@ APP_NAME=Laravel
 APP_ENV=testing
 APP_KEY=base64:nkWw/7lEOZCPLLEaa1oWsHOgPQGxMszomZoJvgy/XHk=
 APP_DEBUG=true
-APP_URL=http://localhost:8000
+APP_URL=http://127.0.0.1:8300
 
 LOG_CHANNEL=stack
 

+ 2 - 2
.github/workflows/laravel5.yml

@@ -85,10 +85,10 @@ jobs:
         run: |
           cd ./laravel-tests
           export DISPLAY=:99.0
-          sudo Xvfb start &
+          sudo Xvfb :99.0 &
           sudo chmod -R 0755 ./vendor/laravel/dusk/bin/
           ./vendor/laravel/dusk/bin/chromedriver-linux --headless --disable-gpu --remote-debugging-port=9515 http://localhost > /dev/null 2>&1 &
-          php artisan serve > /dev/null 2>&1 &
+          php artisan serve --port=8300 > /dev/null 2>&1 &
 
       - name: Run test suite
         run: |