-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (35 loc) · 1.06 KB
/
Copy pathpest.yml
File metadata and controls
44 lines (35 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Pest tests
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
pest_phpstand:
name: Pest tests (PHP ${{ matrix.php-versions }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-versions: ['8.5']
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup PHP
uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, dom, fileinfo, mysql
coverage: xdebug
- name: Composer install
uses: ramsey/composer-install@26d8a556604053a9612623447203a691f406fbe6 # v4
- name: Prepare the application
run: |
php -r "file_exists('.env') || copy('.env.example', '.env');"
php artisan key:generate
php artisan config:clear
php artisan migrate -v
- name: Run Pest Tests
run: php -d memory_limit=-1 vendor/bin/pest