Skip to content

fix: remove commented copy of .env file #4

fix: remove commented copy of .env file

fix: remove commented copy of .env file #4

Workflow file for this run

name: Run tests
on: [push]
jobs:
tests:
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv
coverage: none
- name: Run composer install
run: composer install -n --prefer-dist
- name: Run npm install
run: npm install
- name: Create Database
run: |
mkdir -p database
touch database/database.sqlite
- name: Build front-end files
run: npm run build
- name: Prepare Laravel Application
run: php artisan key:generate
- name: Run tests
env:
DB_CONNECTION: sqlite
DB_DATABASE: database/database.sqlite
run: php artisan test