Skip to content

Commit

Permalink
[TASK] Use the default location for the coverage data response
Browse files Browse the repository at this point in the history
As this file will be written to `build/logs/`, create this directory
before creating any coverage data.
  • Loading branch information
oliverklee committed Aug 23, 2024
1 parent 9005c3c commit b3b11c1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/codecoverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
/.php-cs-fixer.cache
/.phpunit.result.cache
/Documentation-GENERATED-temp/
/build/
/clover.xml
/composer.lock
/generate-documentation.sh
Expand Down
4 changes: 4 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,11 @@
"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",
<<<<<<< HEAD
"coverage:create-directories": "mkdir -p .Build/coverage",
=======
"coverage:create-directories": "mkdir -p .Build/coverage build/logs",
>>>>>>> 6d245b1 ([TASK] Use the default location for the coverage data response)
"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": [
Expand Down

0 comments on commit b3b11c1

Please sign in to comment.