Skip to content

fix: improve timezone handling and show converted timezones across app #92

fix: improve timezone handling and show converted timezones across app

fix: improve timezone handling and show converted timezones across app #92

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: ['8.2', '8.3', '8.4']
name: PHP ${{ matrix.php }}
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: mbstring, dom, fileinfo, pdo_sqlite
coverage: xdebug
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'npm'
- name: Install Composer Dependencies
run: composer install --prefer-dist --no-interaction --no-progress
- name: Copy Environment File
run: cp .env.example .env
- name: Generate App Key
run: php artisan key:generate
- name: Configure SQLite Database
run: |
mkdir -p database
touch database/database.sqlite
echo "DB_CONNECTION=sqlite" >> .env
echo "DB_DATABASE=${{ github.workspace }}/database/database.sqlite" >> .env
- name: Install NPM Dependencies
run: npm ci
- name: Build Assets
run: npm run build
- name: Run Database Migrations
run: php artisan migrate --force
- name: Run Pest Tests
run: vendor/bin/pest