mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-15 13:56:12 +01:00
[TASK] Coveralls upload play-a-round due decline error messages
This should work, but coveralls upload api keeps complaining with error ``` Client error occurred. status: 422 Unprocessable Entity Couldn't find a repository matching this job. ``` on pushes and thus pull-request pipeline runs.
This commit is contained in:
parent
9d6ec5416e
commit
a1f39aa02c
1 changed files with 5 additions and 3 deletions
8
.github/workflows/codecoverage.yml
vendored
8
.github/workflows/codecoverage.yml
vendored
|
@ -18,9 +18,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
php-version: "${{ matrix.php-version }}"
|
php-version: "${{ matrix.php-version }}"
|
||||||
extensions: xdebug, mysqli
|
extensions: xdebug, mysqli
|
||||||
|
tools: composer:v2.4
|
||||||
coverage: xdebug
|
coverage: xdebug
|
||||||
- name: "Set composer token"
|
- name: "Set composer token"
|
||||||
run: "Build/Scripts/runTests.sh -p ${{ matrix.php-version }} -s composer -e 'config github-oauth.github.com ${{ github.token }}'"
|
run: "Build/Scripts/runTests.sh -p ${{ matrix.php-version }} -s composer -e 'config github-oauth.github.com ${{ secrets.GITHUB_TOKEN }}'"
|
||||||
- name: "Show Composer version"
|
- name: "Show Composer version"
|
||||||
run: "Build/Scripts/runTests.sh -t ${{ matrix.typo3-version }} -p ${{ matrix.php-version }} -s composer -e '--version'"
|
run: "Build/Scripts/runTests.sh -t ${{ matrix.typo3-version }} -p ${{ matrix.php-version }} -s composer -e '--version'"
|
||||||
- name: "Show the Composer configuration"
|
- name: "Show the Composer configuration"
|
||||||
|
@ -44,11 +45,12 @@ jobs:
|
||||||
- name: "Run functional tests with coverage"
|
- name: "Run functional tests with coverage"
|
||||||
run: "Build/Scripts/runTests.sh -t ${{ matrix.typo3-version }} -p ${{ matrix.php-version }} -s functional -d mysql -a mysqli -j 8.0 -x -z 'coverage' -e '--whitelist Classes --coverage-php=.Build/coverage/functional.cov'"
|
run: "Build/Scripts/runTests.sh -t ${{ matrix.typo3-version }} -p ${{ matrix.php-version }} -s functional -d mysql -a mysqli -j 8.0 -x -z 'coverage' -e '--whitelist Classes --coverage-php=.Build/coverage/functional.cov'"
|
||||||
- name: "Merge coverage results"
|
- name: "Merge coverage results"
|
||||||
run: "Build/Scripts/runTests.sh -t ${{ matrix.typo3-version }} -p ${{ matrix.php-version }} -s composer -e 'ci:coverage:merge'"
|
#run: "Build/Scripts/runTests.sh -t ${{ matrix.typo3-version }} -p ${{ matrix.php-version }} -s composer -e 'ci:coverage:merge'"
|
||||||
|
run: composer ci:coverage:merge
|
||||||
- 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/vendor/bin/php-coveralls --coverage_clover=./.Build/logs/clover.xml --json_path=./.Build/logs/coveralls-upload.json -v
|
run: ./.Build/vendor/bin/php-coveralls --coverage_clover=.Build/logs/clover.xml --json_path=.Build/logs/coveralls-upload.json -v
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|
Loading…
Reference in a new issue