mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-12 16:44:08 -08:00
Merge pull request #13003 from marcusmoore/chipper-config-updates
Disable browser tests in ChipperCI
This commit is contained in:
commit
5a1e6c8e29
|
@ -41,19 +41,18 @@ pipeline:
|
||||||
cmd: |
|
cmd: |
|
||||||
# php artisan test --testsuite Feature
|
# php artisan test --testsuite Feature
|
||||||
|
|
||||||
- name: Browser Tests
|
# - name: Browser Tests
|
||||||
cmd: |
|
# cmd: |
|
||||||
cp -v .env.dusk.example .env.dusk.ci
|
# cp -v .env.dusk.example .env.dusk.ci
|
||||||
sed -i "s@APP_ENV=.*@APP_ENV=ci@g" .env.dusk.ci
|
# sed -i "s@APP_ENV=.*@APP_ENV=ci@g" .env.dusk.ci
|
||||||
sed -i "s@APP_URL=.*@APP_URL=http://$BUILD_HOST:8000@g" .env.dusk.ci
|
# sed -i "s@APP_URL=.*@APP_URL=http://$BUILD_HOST:8000@g" .env.dusk.ci
|
||||||
#sed -i "s@DB_HOST=.*@DB_HOST=mysql@g" .env.dusk.ci
|
# #sed -i "s@DB_HOST=.*@DB_HOST=mysql@g" .env.dusk.ci
|
||||||
sed -i "s@DB_HOST=.*@DB_HOST=$DB_HOST@g" .env.dusk.ci
|
# sed -i "s@DB_HOST=.*@DB_HOST=$DB_HOST@g" .env.dusk.ci
|
||||||
sed -i "s@DB_USERNAME=.*@DB_USERNAME=chipperci@g" .env.dusk.ci
|
# sed -i "s@DB_USERNAME=.*@DB_USERNAME=chipperci@g" .env.dusk.ci
|
||||||
sed -i "s@DB_DATABASE=.*@DB_DATABASE=chipperci@g" .env.dusk.ci
|
# sed -i "s@DB_DATABASE=.*@DB_DATABASE=chipperci@g" .env.dusk.ci
|
||||||
sed -i "s@DB_PASSWORD=.*@DB_PASSWORD=secret@g" .env.dusk.ci
|
# sed -i "s@DB_PASSWORD=.*@DB_PASSWORD=secret@g" .env.dusk.ci
|
||||||
|
#
|
||||||
php -S [::0]:8000 -t public 2>server.log &
|
# php -S [::0]:8000 -t public 2>server.log &
|
||||||
sleep 2
|
# sleep 2
|
||||||
php artisan dusk:chrome-driver $CHROME_DRIVER
|
# php artisan dusk:chrome-driver $CHROME_DRIVER
|
||||||
php artisan dusk --env=ci
|
# php artisan dusk --env=ci
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue