Skip to content

Commit

Permalink
phpunit github action
Browse files Browse the repository at this point in the history
  • Loading branch information
kgrzelak committed Jun 30, 2024
1 parent 6857b2d commit 6165a2e
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: run-tests

on: [push, pull_request]

jobs:
run-tests:
runs-on: ubuntu24.04
steps:
- uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
extensions: curl, zip, mbstring
coverage: none

- name: Install dependencies
run: composer install --no-progress --no-suggest

- name: Run PHPUnit
run: ./vendor/bin/phpunit --testdox --no-progress

0 comments on commit 6165a2e

Please sign in to comment.