Skip to content

Commit 706104b

Browse files
Create phpunit.yml file
1 parent 4ef6e2b commit 706104b

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/phpunit.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Run PHPUnit Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
run_tests:
10+
name: Run PHPUnit Tests
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v2
16+
17+
- name: Setup PHP
18+
uses: shivammathur/setup-php@v2
19+
with:
20+
php-version: '8.0'
21+
22+
- name: Install dependencies
23+
run: composer install --no-interaction --prefer-dist
24+
25+
- name: Run PHPUnit
26+
run: php artisan test

0 commit comments

Comments
 (0)