Skip to content

Commit

Permalink
🚀 v5
Browse files Browse the repository at this point in the history
Signed-off-by: Bruno Meilick <[email protected]>
  • Loading branch information
bnomei committed Nov 24, 2024
1 parent 7b811e6 commit 15c35e3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 29 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/pest-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,4 @@ jobs:
run: composer install --no-interaction --prefer-dist --optimize-autoloader

- name: PEST
run: composer coverage

# - name: Test & publish code coverage
# uses: paambaati/[email protected]
# with:
# coverageCommand: composer coverage
# coverageLocations: ${{github.workspace}}/tests/clover.xml:clover
# env:
# CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}

run: composer test
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@
"spatie/ray": "^1.39"
},
"scripts": {
"analyze": "./vendor/bin/phpstan",
"stan": "./vendor/bin/phpstan",
"fix": "./vendor/bin/pint",
"test": "./vendor/bin/pest",
"coverage": [
"php tests/patch.php",
"php ./vendor/bin/pest --coverage --coverage-clover=tests/clover.xml"
"test": [
"sed -i '' 's/function dump(/function xdump(/g' tests/kirby/config/helpers.php",
"sed -i '' 's/function e(/function xe(/g' tests/kirby/config/helpers.php",
"./vendor/bin/pest"
],
"dist": [
"npm run format",
Expand Down
14 changes: 0 additions & 14 deletions tests/patch.php

This file was deleted.

0 comments on commit 15c35e3

Please sign in to comment.