christophebedard / dco-check

Simple DCO check script to be used in any CI
Apache License 2.0
12 stars 6 forks source link

Skip tests assuming git tree #97

Closed zyga closed 3 years ago

zyga commented 3 years ago

When the tests are executed from the release tarball, unlike from a git archive, they fail to work as git meta-data is not present. Detect and handle this case by skipping appropriate tests.

Signed-off-by: Zygmunt Krynicki me@zygoon.pl

codecov[bot] commented 3 years ago

Codecov Report

Merging #97 (911f4a9) into master (cc6cb61) will decrease coverage by 4.58%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #97      +/-   ##
==========================================
- Coverage   73.12%   68.54%   -4.59%     
==========================================
  Files           2        2              
  Lines         480      480              
  Branches       77       77              
==========================================
- Hits          351      329      -22     
- Misses         98      127      +29     
+ Partials       31       24       -7     
Impacted Files Coverage Δ
dco_check/dco_check.py 68.41% <0.00%> (-4.61%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update cc6cb61...911f4a9. Read the comment docs.