-
-
Notifications
You must be signed in to change notification settings - Fork 3
35 lines (29 loc) · 906 Bytes
/
pest.yml
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
name: Run Pest
on: [push, pull_request]
jobs:
pest:
name: Pest
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [8.2, 8.3, 8.4]
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: dom, libxml
coverage: none
tools: composer
- name: Cache Composer Dependencies
uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-composer-${{ matrix.php-version }}-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-composer-${{ matrix.php-version }}-
- name: Install Dependencies
run: composer install --no-progress --prefer-dist --no-interaction
- name: Run Pest
run: vendor/bin/pest