Files
ploi-core/.github/workflows/run-tests.yml
Dennis b3a5624ad4 fx
2023-11-20 10:08:48 +01:00

34 lines
756 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: "Run tests"
on:
push:
workflow_call:
jobs:
test:
name: Pest (PHP ${{ matrix.php }} ${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
php: [8.2]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo, mysql
coverage: none
- name: Install dependencies
run: |
composer install
- name: Execute tests
run: vendor/bin/pest