Skip to content

Commit

Permalink
[TASK] Remove Scrutinizer integrations on release-12.0.x
Browse files Browse the repository at this point in the history
Due of troubles within CI builds, the scrutinizer must be removed.
  • Loading branch information
dkd-kaehm committed Sep 11, 2024
1 parent 9e2b6bf commit ac09602
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 40 deletions.
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
/.github export-ignore
/.gitignore export-ignore
/.php-cs-fixer.php export-ignore
/.scrutinizer.yml export-ignore
/.styleci.yml export-ignore
/Build/ export-ignore
/CONTRIBUTING.md export-ignore
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,6 @@ jobs:
echo "Current Size of EXT:Solr build Artefacts after run: " \
&& sudo du -sh "${{ env.CI_BUILD_DIRECTORY }}" \
&& sudo du -sh ${{ env.CI_BUILD_DIRECTORY }}/*
-
name: Upload code coverage to Scrutinizer
run: |
ocular code-coverage:upload --format=php-clover coverage.unit.clover
ocular code-coverage:upload --format=php-clover coverage.integration.clover
-
name: Clean up
run: |
Expand Down
29 changes: 0 additions & 29 deletions .scrutinizer.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Build/Test/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ fi

echo "Install third party tools globally:"
export PATH=$PATH:$(composer config --global home)/vendor/bin
if ! composer global require sclable/xml-lint scrutinizer/ocular --ignore-platform-reqs
if ! composer global require sclable/xml-lint --ignore-platform-reqs
then
"The test environment could not be installed by composer as expected. Please fix this issue."
exit 1
Expand Down
4 changes: 2 additions & 2 deletions Build/Test/cibuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ fi

echo -e "\n\n"
echo "Run unit tests"
if ! composer tests:unit -- --coverage-clover=coverage.unit.clover
if ! composer tests:unit
then
echo "Error during running the unit tests please check and fix them"
EXIT_CODE=5
Expand Down Expand Up @@ -95,7 +95,7 @@ fi

echo -e "\n\n"
echo "Run integration tests"
if ! composer tests:integration -- --coverage-clover=coverage.integration.clover
if ! composer tests:integration
then
echo "Error during running the integration tests please check and fix them"
EXIT_CODE=6
Expand Down
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,7 @@
"ext-solrfal": {
},
"stack-for-ci": {
"sclable/xml-lint": "*",
"scrutinizer/ocular": "*"
"sclable/xml-lint": "*"
}
}
}
Expand Down

0 comments on commit ac09602

Please sign in to comment.