phpcs and phpstan uplaod artifacts working for tst file
Some checks failed
CI / testsuite (pgsql, 8.2, ) (push) Has been cancelled
CI / testsuite (pgsql, 8.4, ) (push) Has been cancelled
CI / testsuite (mysql, 8.4, ) (push) Has been cancelled
CI / testsuite (sqlite, 8.2, ) (push) Has been cancelled
CI / testsuite (sqlite, 8.2, prefer-lowest) (push) Has been cancelled
CI / testsuite (sqlite, 8.4, ) (push) Has been cancelled
CI / testsuite (mysql, 8.2, ) (push) Has been cancelled
CI / Coding Standard & Static Analysis (push) Failing after 8m46s
Some checks failed
CI / testsuite (pgsql, 8.2, ) (push) Has been cancelled
CI / testsuite (pgsql, 8.4, ) (push) Has been cancelled
CI / testsuite (mysql, 8.4, ) (push) Has been cancelled
CI / testsuite (sqlite, 8.2, ) (push) Has been cancelled
CI / testsuite (sqlite, 8.2, prefer-lowest) (push) Has been cancelled
CI / testsuite (sqlite, 8.4, ) (push) Has been cancelled
CI / testsuite (mysql, 8.2, ) (push) Has been cancelled
CI / Coding Standard & Static Analysis (push) Failing after 8m46s
This commit is contained in:
@@ -126,10 +126,21 @@ jobs:
|
|||||||
composer install --no-progress --prefer-dist --optimize-autoloader
|
composer install --no-progress --prefer-dist --optimize-autoloader
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- run: mkdir -p art
|
- name: Run phpstan
|
||||||
- run: echo hello > art/world.txt
|
run: vendor/bin/phpstan analyse src tests --error-format=github > phpstan.errors
|
||||||
|
|
||||||
|
- name: Run phpcs
|
||||||
|
run: composer cs-check > phpcs.errors
|
||||||
|
|
||||||
|
- run: mkdir -p artifacts
|
||||||
- uses: https://github.com/christopherHX/gitea-upload-artifact@v4
|
- uses: https://github.com/christopherHX/gitea-upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: my-artifact
|
name: phpstan
|
||||||
path: art/world.txt
|
path: artifacts/phpstan.errors
|
||||||
|
|
||||||
|
- uses: https://github.com/christopherHX/gitea-upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: phpcs
|
||||||
|
path: artifacts/phpcs.errors
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user