From 822e6d29add0384d74ffa188c7a2a339b480e4ff Mon Sep 17 00:00:00 2001 From: Ben Thomson Date: Sun, 29 Mar 2020 16:33:12 +0800 Subject: [PATCH] Drop browser tests from test suite As much as I'd like to keep them, they're just too flaky right now. --- .github/workflows/tests.yml | 50 ------------------------------------- 1 file changed, 50 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0a5987cea..a27246d97 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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