Skip to content

Commit a0cb8ec

Browse files
committed
ci: 修复 PHPUnit 运行命令
1 parent 75c42bb commit a0cb8ec

1 file changed

Lines changed: 1 addition & 21 deletions

File tree

.github/workflows/tests.yml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -45,24 +45,4 @@ jobs:
4545
run: composer install --prefer-dist --no-progress --no-interaction
4646

4747
- name: Run tests
48-
run: vendor/bin/phpunit --colors=always
49-
50-
code-style:
51-
runs-on: ubuntu-latest
52-
name: Code Style
53-
54-
steps:
55-
- name: Checkout code
56-
uses: actions/checkout@v4
57-
58-
- name: Setup PHP
59-
uses: shivammathur/setup-php@v2
60-
with:
61-
php-version: '8.2'
62-
tools: composer:v2
63-
64-
- name: Install dependencies
65-
run: composer install --prefer-dist --no-progress --no-interaction
66-
67-
- name: Check syntax
68-
run: find src -name "*.php" -exec php -l {} \; | grep -v "No syntax errors"
48+
run: ./vendor/bin/phpunit --no-coverage

0 commit comments

Comments
 (0)