• Grégoire Paris's avatar
    Fetch parent commits · 78d760cc
    Grégoire Paris authored
    CI platforms do not run their jobs on the commit you push. Instead, they
    run it on a merge commit so that both your changes and the latest
    version of the target branch are taken into account.
    Before uploading the coverage report, CodeCov's bash uploader attempts
    to find the original commit hash, and succeeds on Travis and AppVeyor,
    but not on Github, because the method it uses does not work unless the
    parent commits are fetched too, which results in Github posting to
    CodeCov with a different hash than Travis or AppVeyor.
    Setting the fetch depth fixes that issue.
    78d760cc
Name
Last commit
Last update
.github Loading commit data...
bin Loading commit data...
ci/github Loading commit data...
docs Loading commit data...
lib/Doctrine/DBAL Loading commit data...
tests Loading commit data...
.appveyor.yml Loading commit data...
.doctrine-project.json Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
SECURITY.md Loading commit data...
UPGRADE.md Loading commit data...
composer.json Loading commit data...
composer.lock Loading commit data...
phpcs.xml.dist Loading commit data...
phpstan.neon.dist Loading commit data...
phpunit.xml.dist Loading commit data...
psalm.xml Loading commit data...
run-all.sh Loading commit data...