Skip to content

fixed ci env

fixed ci env #32

Workflow file for this run

name: Tests
on: [ 'push', 'pull_request' ]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
tools: composer:v2
coverage: xdebug
- name: Copy .env
run: php -r "file_exists('.env') || copy('.env.github', '.env');"
- name: Install Dependencies
run: composer install --no-interaction --prefer-dist --optimize-autoloader
- name: Tests
run: ./vendor/bin/pest