Skip to content

Migrate BrowserKit tests to HTTP tests #1917

Migrate BrowserKit tests to HTTP tests

Migrate BrowserKit tests to HTTP tests #1917

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite
coverage: none
- name: Install Composer dependencies
run: composer install --prefer-dist --no-interaction
- name: Install NPM dependencies
run: npm ci
- name: Compile assets
run: npm run build
- name: Execute tests
run: vendor/bin/pest
- name: Deploy
if: github.repository == 'laravelio/laravel.io' && github.ref_name == 'main'
run: curl ${{ secrets.ENVOYER_HOOK }}?sha=${{ github.sha }}