Drop browser tests from test suite

As much as I'd like to keep them, they're just too flaky right now.
This commit is contained in:
Ben Thomson 2020-03-29 16:33:12 +08:00
parent 64ba17ee75
commit 822e6d29ad
No known key found for this signature in database
GPG Key ID: E2B9C73B52D15AA0
1 changed files with 0 additions and 50 deletions

View File

@ -61,53 +61,3 @@ jobs:
run: |
./vendor/bin/parallel-lint --exclude vendor --exclude storage --exclude tests/fixtures/plugins/testvendor/goto/Plugin.php .
./vendor/bin/phpunit --prepend ./vendor/october/rain/src/Support/helpers.php
duskTests:
runs-on: ubuntu-latest
name: Browser Tests
steps:
- name: Checkout changes
uses: actions/checkout@v1
- name: Install PHP
uses: shivammathur/setup-php@v1
with:
php-version: '7.3'
extensions: mbstring, intl, gd, xml, sqlite
- name: Setup problem matcher for PHPUnit
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Set Composer cache
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Cache Composer dependencies
uses: actions/cache@v1
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-composer-
- name: Install Dusk plugin
run: |
curl -fLs https://github.com/rainlab/dusk-plugin/archive/master.zip -o rainlab-dusk.zip
mkdir -p plugins/rainlab
unzip rainlab-dusk.zip -d plugins/rainlab
mv plugins/rainlab/dusk-plugin-master plugins/rainlab/dusk
- name: Install Composer dependencies
run: composer install --no-interaction --no-progress --no-suggest
- name: Run post-update Composer scripts
run: php artisan package:discover
- name: Reset October modules
run: |
git reset --hard HEAD
composer dumpautoload
- name: Install Chrome driver
run: php artisan dusk:chrome-driver
- name: Start Chrome driver
run: ./vendor/laravel/dusk/bin/chromedriver-linux > /dev/null 2>&1 &
- name: Run Laravel Server
run: php artisan serve > /dev/null 2>&1 &
- name: Run Dusk Tests
run: php artisan dusk
- name: Upload Dusk Screenshots
uses: actions/upload-artifact@v1
if: failure()
with:
name: dusk-screenshots
path: ./storage/dusk/screenshots