Skip to content

Commit 82c1ec8

Browse files
Update and rename php.yml to tests.yml
1 parent 3e0425f commit 82c1ec8

File tree

2 files changed

+21
-39
lines changed

2 files changed

+21
-39
lines changed

.github/workflows/php.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/workflows/tests.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: PHP Unit Tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
phpunit:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout code
10+
uses: actions/checkout@v2
11+
12+
- name: Set up PHP
13+
uses: shivammathur/setup-php@v2
14+
with:
15+
php-version: '8.4'
16+
17+
- name: Install dependencies
18+
run: composer install --prefer-dist --no-progress --no-suggest
19+
20+
- name: Run PHPUnit
21+
run: vendor/bin/phpunit

0 commit comments

Comments
 (0)