Skip to content

Commit 366d4d6

Browse files
Create tests.yml
1 parent cec7f39 commit 366d4d6

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/tests.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: tests
2+
3+
on:
4+
push:
5+
branches: [ "production" ]
6+
pull_request:
7+
branches: [ "production" ]
8+
workflow_dispatch:
9+
10+
jobs:
11+
maravel-tests:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@v4
17+
18+
- name: Setup PHP
19+
uses: shivammathur/setup-php@15c43e89cdef867065b0213be354c2841860869e
20+
with:
21+
php-version: '8.3'
22+
23+
- name: Install Dependencies
24+
run: composer install --no-cache --no-interaction --prefer-dist --no-progress --optimize-autoloader
25+
26+
- name: Execute tests
27+
run: vendor/bin/phpunit

0 commit comments

Comments
 (0)