Skip to content

Commit 4263186

Browse files
authored
Merge pull request #22 from DanielRTRD/Pest
Pest
2 parents ae801cb + d4f6540 commit 4263186

File tree

11 files changed

+509
-96
lines changed

11 files changed

+509
-96
lines changed

.github/workflows/laravel.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
fail-fast: false
99
matrix:
1010
operating-system: [ubuntu-latest]
11-
php-versions: ['8.0', '8.1']
11+
php-versions: ['8.1']
1212
steps:
1313
- name: Checkout
1414
uses: actions/checkout@v2
@@ -43,10 +43,10 @@ jobs:
4343
run: |
4444
mkdir -p database
4545
touch database/database.sqlite
46-
- name: Test with phpunit
46+
- name: Run tests
4747
env:
4848
DB_CONNECTION: sqlite
4949
DB_DATABASE: database/database.sqlite
5050
PRIVATE_EMAIL: '[email protected]'
51-
run: vendor/bin/phpunit
51+
run: vendor/bin/pest
5252

composer.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
"laravel/sail": "^1.0.1",
3333
"mockery/mockery": "^1.4.2",
3434
"nunomaduro/collision": "^5.0",
35+
"pestphp/pest": "^1.21",
36+
"pestphp/pest-plugin-laravel": "^1.2",
3537
"phpunit/phpunit": "^9.3.3"
3638
},
3739
"autoload": {

0 commit comments

Comments
 (0)