Fix SRID not being optional for expression in GeometryCast #346
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests coverage | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
test: | |
name: Pest - coverage | |
runs-on: ubuntu-latest | |
services: | |
db: | |
image: mysql:8.0 | |
env: | |
MYSQL_ALLOW_EMPTY_PASSWORD: yes | |
MYSQL_DATABASE: laravel_eloquent_spatial_test | |
ports: | |
- 3306 | |
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.3 | |
coverage: xdebug | |
- name: Install dependencies | |
run: composer install --prefer-dist --no-interaction | |
- name: Execute tests | |
env: | |
DB_PORT: ${{ job.services.db.ports['3306'] }} | |
DB_CONNECTION: mysql | |
run: XDEBUG_MODE=coverage ./vendor/bin/pest --coverage --min=100 |