Skip to content

Commit

Permalink
feat(make): add codecov for ruby (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfalkowski authored Aug 14, 2024
1 parent 05e94db commit 58a5b90
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions build/make/ruby.mak
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ path:
dep: path
bundle check || bundle install

# Update a gem.
update-dep:
bundle update $(gem)

# Update all the deps.
update-all-dep: path
bundle update
Expand All @@ -33,12 +37,9 @@ features:

# Clean the reports.
clean-reports:
rm -rf reports/*.*
rm -rf test/reports/*.*

# Leave only coverage files.
leave-coverage:
find reports ! -name '*.cov' -type f -exec rm -f {} +

# Update a gem.
update-dep:
bundle update $(gem)
# Upload codecov information.
codecov-upload:
codecov create-commit
codecov do-upload -f test/reports/coverage.xml

0 comments on commit 58a5b90

Please sign in to comment.