From 0fcd109e45b4e8f44a3c63de75e0adfa18258df7 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Mon, 6 May 2024 06:28:54 +0200 Subject: [PATCH] [TASK] Add more debug information to the coverage CI job (#1262) This helps track down problems with the code coverage files. --- .github/workflows/codecoverage.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/codecoverage.yml b/.github/workflows/codecoverage.yml index d0b503f..4426bdc 100644 --- a/.github/workflows/codecoverage.yml +++ b/.github/workflows/codecoverage.yml @@ -33,6 +33,8 @@ jobs: ini-values: pcov.directory=Classes - name: "Show Composer version" run: composer --version + - name: "Show the Composer configuration" + run: composer config --global --list - name: "Cache dependencies installed with composer" uses: actions/cache@v4 with: @@ -59,6 +61,8 @@ jobs: run: "sudo /etc/init.d/mysql start" - name: "Run unit tests with coverage" run: composer ci:coverage:unit + - name: "Show generated coverage files" + run: "ls -lahR .Build/coverage/" - name: "Run functional tests with coverage" run: | export typo3DatabaseName="$DB_DATABASE"; @@ -66,8 +70,12 @@ jobs: export typo3DatabaseUsername="$DB_USER"; export typo3DatabasePassword="$DB_PASSWORD"; composer ci:coverage:functional + - name: "Show generated coverage files" + 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: "Upload coverage results to Coveralls" env: COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}