mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-10 00:16:13 +01:00
[TASK] Add more debug information to the coverage CI job (#1262)
This helps track down problems with the code coverage files.
This commit is contained in:
parent
f783321c52
commit
0fcd109e45
1 changed files with 8 additions and 0 deletions
8
.github/workflows/codecoverage.yml
vendored
8
.github/workflows/codecoverage.yml
vendored
|
@ -33,6 +33,8 @@ jobs:
|
||||||
ini-values: pcov.directory=Classes
|
ini-values: pcov.directory=Classes
|
||||||
- name: "Show Composer version"
|
- name: "Show Composer version"
|
||||||
run: composer --version
|
run: composer --version
|
||||||
|
- name: "Show the Composer configuration"
|
||||||
|
run: composer config --global --list
|
||||||
- name: "Cache dependencies installed with composer"
|
- name: "Cache dependencies installed with composer"
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
|
@ -59,6 +61,8 @@ jobs:
|
||||||
run: "sudo /etc/init.d/mysql start"
|
run: "sudo /etc/init.d/mysql start"
|
||||||
- name: "Run unit tests with coverage"
|
- name: "Run unit tests with coverage"
|
||||||
run: composer ci:coverage:unit
|
run: composer ci:coverage:unit
|
||||||
|
- name: "Show generated coverage files"
|
||||||
|
run: "ls -lahR .Build/coverage/"
|
||||||
- name: "Run functional tests with coverage"
|
- name: "Run functional tests with coverage"
|
||||||
run: |
|
run: |
|
||||||
export typo3DatabaseName="$DB_DATABASE";
|
export typo3DatabaseName="$DB_DATABASE";
|
||||||
|
@ -66,8 +70,12 @@ jobs:
|
||||||
export typo3DatabaseUsername="$DB_USER";
|
export typo3DatabaseUsername="$DB_USER";
|
||||||
export typo3DatabasePassword="$DB_PASSWORD";
|
export typo3DatabasePassword="$DB_PASSWORD";
|
||||||
composer ci:coverage:functional
|
composer ci:coverage:functional
|
||||||
|
- name: "Show generated coverage files"
|
||||||
|
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"
|
||||||
|
run: "ls -lahR ./.Build/logs/"
|
||||||
- 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 }}
|
||||||
|
|
Loading…
Reference in a new issue