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
|
||||
fi
|
||||
|
||||
- run: mkdir -p art
|
||||
- run: echo hello > art/world.txt
|
||||
- name: Run phpstan
|
||||
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
|
||||
with:
|
||||
name: my-artifact
|
||||
path: art/world.txt
|
||||
name: phpstan
|
||||
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