Skip to content

Fixed issue with map details page #1669

Fixed issue with map details page

Fixed issue with map details page #1669

Workflow file for this run

name: Laravel
on: [push]
jobs:
laravel-tests:
runs-on: ubuntu-latest
services:
mysql-service:
image: mysql:8.0.29
env:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: flare_test
ports:
- 33306:3306
options: >-
--health-cmd="mysqladmin ping"
--health-interval=10s
--health-timeout=5s
--health-retries=3
steps:
- uses: actions/checkout@v1
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
- name: Copy .env
run: php -r "file_exists('.env') || copy('.env.example', '.env');"
- name: Install Dependencies
run: |
rm -rf vendor
rm -rf composer.lock
composer install
yarn install
- name: Generate key
run: php artisan key:generate
- name: Link Storage
run: php artisan storage:link
- name: Install dependencies (laravel mix)
run: yarn run prod
- name: Execute tests (Unit and Feature tests) via PHPUnit
env:
DB_CONNECTION: mysql
DB_HOST: 127.0.0.1
DB_DATABASE: flare_test
DB_PORT: 33306
DB_USER: root
DB_PASSWORD: password
TIME_ZONE: America/Edmonton
run: |
php artisan migrate
vendor/bin/phpunit --stop-on-failure