Skip to content

Commit 9b0b7a1

Browse files
authored
[feature] github action
- add ci configuration for github action
1 parent 3526f51 commit 9b0b7a1

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/laravel.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Laravel
2+
3+
on: [push]
4+
5+
jobs:
6+
laravel-tests:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v1
10+
- name: Remove Xdebug
11+
run: phpenv config-rm xdebug.ini
12+
- name: Install Dependencies
13+
run: composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
14+
- name: Execute tests (Unit and Feature tests) via PHPUnit
15+
env:
16+
DB_CONNECTION: sqlite
17+
DB_DATABASE: database/database.sqlite
18+
run: vendor/bin/phpunit

0 commit comments

Comments
 (0)