mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 02:16:12 +01:00
[TASK] Streamline the coverage folders (#1432)
This commit is contained in:
parent
920b2ca957
commit
9005c3cb9a
2 changed files with 5 additions and 5 deletions
6
.github/workflows/codecoverage.yml
vendored
6
.github/workflows/codecoverage.yml
vendored
|
@ -75,12 +75,12 @@ jobs:
|
||||||
run: "ls -lahR .Build/coverage/"
|
run: "ls -lahR .Build/coverage/"
|
||||||
- name: "Merge coverage results"
|
- name: "Merge coverage results"
|
||||||
run: composer ci:coverage:merge
|
run: composer ci:coverage:merge
|
||||||
- name: "Show merged coverage files"
|
- name: "Show generated coverage files"
|
||||||
run: "ls -lahR ./.Build/logs/"
|
run: "ls -lahR .Build/coverage/"
|
||||||
- name: "Upload coverage results to Coveralls"
|
- name: "Upload coverage results to Coveralls"
|
||||||
env:
|
env:
|
||||||
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
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:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|
|
@ -132,7 +132,7 @@
|
||||||
],
|
],
|
||||||
"ci:coverage:merge": [
|
"ci:coverage:merge": [
|
||||||
"@coverage:create-directories",
|
"@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": [
|
"ci:coverage:unit": [
|
||||||
"@coverage:create-directories",
|
"@coverage:create-directories",
|
||||||
|
@ -170,7 +170,7 @@
|
||||||
"ci:typoscript:lint": "typoscript-lint -c Configuration/TsLint.yml --ansi -n --fail-on-warnings -vvv Configuration/TypoScript",
|
"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: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",
|
"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",
|
"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:composer:normalize": "@composer normalize --no-check-lock",
|
||||||
"fix:php": [
|
"fix:php": [
|
||||||
|
|
Loading…
Reference in a new issue