Skip to content

chore: restrict unit test pipeline to changes to tests and src #4

chore: restrict unit test pipeline to changes to tests and src

chore: restrict unit test pipeline to changes to tests and src #4

Workflow file for this run

name: PHP Unit Tests
on:
push:
paths:
- /src/**
- /tests/**
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Run Tests
run: composer run-script tests