gap-packages / grape

GRaph Algorithms using PErmutation groups
https://gap-packages.github.io/grape/
5 stars 7 forks source link

Setup Travis CI and Codecov #4

Closed olexandr-konovalov closed 5 years ago

olexandr-konovalov commented 5 years ago

This is our standard setup for tools which will run them for every change suggested in the package to check that they still run correctly after the change (e.g. like at https://travis-ci.org/gap-packages/example), and which calculate how many lines of the codebase are exercised by these tests (e.g. like at https://codecov.io/gh/gap-packages/example).

codecov-io commented 5 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@43cfc7e). Click here to learn what that means. The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #4   +/-   ##
=========================================
  Coverage          ?   58.37%           
=========================================
  Files             ?        9           
  Lines             ?     6313           
  Branches          ?        0           
=========================================
  Hits              ?     3685           
  Misses            ?     2628           
  Partials          ?        0
olexandr-konovalov commented 5 years ago

Now we can see that the checks pass (you can see it in https://travis-ci.org/gap-packages/grape/builds/445338066 which can be accessed if you click on "show all checks" above opposite to the green tick "All checks have passed" and then click on "Details" opposite to "the Travis CI build passed). Also, the Codecov report states that the test covers 58% of the code - as https://codecov.io/gh/gap-packages/grape/compare/43cfc7eda3e73a7542e439c6e6252e66ff5a2b8b...19657a161a36923ba63e00eb9841d8f03e6475ad/tree shows, this is 76% in lib and 34% in nauty22.

This shows that the setup works, and this pull request is ready to be merged.