Skip to content

Commit

Permalink
[TASK] Streamline the coverage folders
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverklee committed Aug 23, 2024
1 parent 920b2ca commit 1ae4c4b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/codecoverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ jobs:
run: "ls -lahR .Build/coverage/"
- name: "Merge coverage results"
run: composer ci:coverage:merge
- name: "Show merged coverage files"
run: "ls -lahR ./.Build/logs/"
- name: "Show generated coverage files"
run: "ls -lahR .Build/coverage/"
- name: "Upload coverage results to Coveralls"
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./.Build/bin/php-coveralls --coverage_clover=./.Build/logs/clover.xml --json_path=./.Build/logs/coveralls-upload.json -v
run: ./.Build/bin/php-coveralls --coverage_clover=./.Build/coverage/combined.xml --json_path=./.Build/coverage/coveralls-upload.json -v
strategy:
fail-fast: false
matrix:
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
],
"ci:coverage:merge": [
"@coverage:create-directories",
"@php tools/phpcov merge --clover=./.Build/logs/clover.xml ./.Build/coverage/"
"@php tools/phpcov merge --clover=./.Build/coverage/combined.xml ./.Build/coverage/"
],
"ci:coverage:unit": [
"@coverage:create-directories",
Expand Down Expand Up @@ -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/logs .Build/coverage",
"coverage:create-directories": "mkdir -p .Build/coverage",
"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 1ae4c4b

Please sign in to comment.