Skip to content

Pin shivammathur/setup-php action to 9e72090 #21

Pin shivammathur/setup-php action to 9e72090

Pin shivammathur/setup-php action to 9e72090 #21

Workflow file for this run

name: PHP Unit Tests
on:
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
env:
DESCOPE_PROJECT_ID: ${{ vars.DESCOPE_PROJECT_ID }}
strategy:
matrix:
php-version: [8.1, 7.4]
steps:
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
- name: Set up PHP
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # v2
with:
php-version: ${{ matrix.php-version }}
- name: Install dependencies
run: composer install
- name: Run tests
run: vendor/bin/phpunit --configuration phpunit.xml