mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-21 23:56:12 +01:00

[TASK] Use the default location for the coverage data response

As this file will be written to `build/logs/`, create this directory
before creating any coverage data.
This commit is contained in:
Oliver Klee 2024-08-23 18:23:57 +02:00
parent 9005c3cb9a
commit 74a2256101
No known key found for this signature in database
GPG key ID: E74BB46157AA8FDF
3 changed files with 3 additions and 2 deletions

View file

@ -80,7 +80,7 @@ jobs:
- name: "Upload coverage results to Coveralls"
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: .Build/bin/php-coveralls --coverage_clover=.Build/coverage/combined.xml --json_path=.Build/coverage/coveralls-upload.json -v
run: .Build/bin/php-coveralls --coverage_clover=.Build/coverage/combined.xml -v
strategy:
fail-fast: false
matrix:

1
.gitignore vendored
View file

@ -5,6 +5,7 @@
/.php-cs-fixer.cache
/.phpunit.result.cache
/Documentation-GENERATED-temp/
/build/
/clover.xml
/composer.lock
/generate-documentation.sh

View file

@ -170,7 +170,7 @@
"ci:typoscript:lint": "typoscript-lint -c Configuration/TsLint.yml --ansi -n --fail-on-warnings -vvv Configuration/TypoScript",
"ci:xliff:lint": "php Build/xliff/xliff-lint lint:xliff Resources/Private/Language",
"ci:yaml:lint": "find . ! -path '*.Build/*' ! -path '*node_modules/*' \\( -name '*.yaml' -o -name '*.yml' \\) | xargs -r php ./.Build/bin/yaml-lint",
"coverage:create-directories": "mkdir -p .Build/coverage",
"coverage:create-directories": "mkdir -p .Build/coverage build/logs",
"docs:generate": "docker run --rm --pull always -v $(pwd):/project -it ghcr.io/typo3-documentation/render-guides:latest --config=Documentation",
"fix:composer:normalize": "@composer normalize --no-check-lock",
"fix:php": [