Skip to content

Commit

Permalink
Run tests on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
feyst committed Oct 15, 2024
1 parent ffe43bb commit eeadc31
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on:
push:
pull_request:
types:
- opened
- synchronize

jobs:
build-test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Cache Composer dependencies
uses: actions/cache@v3
with:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
- uses: php-actions/composer@v6
- name: PHPUnit tests
run: ./vendor/bin/phpunit

0 comments on commit eeadc31

Please sign in to comment.