Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminhaeberli committed Apr 11, 2024
1 parent d213808 commit 26151e7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/formats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
run: composer update --${{ matrix.dependency-version }} --no-interaction --prefer-dist

- name: Coding Style Checks
run: composer test:lint
run: composer test:pint

- name: Type Checks
run: composer test:types
run: composer phpstan
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on: ["push", "pull_request"]
jobs:
ci:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: true
matrix:
Expand Down Expand Up @@ -41,4 +42,4 @@ jobs:
run: composer update --${{ matrix.dependency-version }} --no-interaction --prefer-dist

- name: Integration Tests
run: php ./vendor/bin/pest
run: composer pest
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@
"phpinsights": "./vendor/bin/phpinsights --ansi",
"rector": "./vendor/bin/rector --ansi",
"pint": "./vendor/bin/pint --ansi",
"fake:rector": "rector --dry-run",
"fake:pint": "./vendor/bin/pint --test",
"test:rector": "rector --dry-run",
"test:pint": "./vendor/bin/pint --test",
"phpstan": "phpstan analyse --ansi",
"pest": "pest --colors=always",
"pest:coverage": "./vendor/bin/pest --colors=always --coverage",
"pest:type-coverage": "./vendor/bin/pest --colors=always --type-coverage",
"test": [
"@fake:rector",
"@fake:pint",
"@test:rector",
"@test:pint",
"@phpstan",
"@pest"
],
Expand Down

0 comments on commit 26151e7

Please sign in to comment.