Skip to content

Commit 3b9943f

Browse files
committed
test:phpunit
1 parent 6286043 commit 3b9943f

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/default.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,7 @@ jobs:
4848
4949
- name: Install dependencies
5050
if: steps.composer-cache.outputs.cache-hit != 'true'
51-
run: composer install --prefer-dist --no-progress --no-suggest
51+
run: composer install --prefer-dist --no-progress --no-suggest
52+
53+
- name: Run test suite
54+
run: ./vendor/bin/phpunit

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,13 @@
4040
}
4141
},
4242
"require-dev": {
43-
"php-coveralls/php-coveralls": "^2.1",
43+
"php-coveralls/php-coveralls": "^2.7",
4444
"workerman/webman": "^1.5",
4545
"psr/container": "^1.1.1",
4646
"illuminate/database": "^8.83",
4747
"illuminate/pagination": "^8.83",
4848
"illuminate/events": "^8.83",
49-
"webman/think-orm": "^1.0"
49+
"webman/think-orm": "^1.0",
50+
"phpunit/phpunit": "^11.4"
5051
}
5152
}

0 commit comments

Comments
 (0)