bgp / bgpq4

BGP Filter generator
https://github.com/bgp/bgpq4
BSD 2-Clause "Simplified" License
303 stars 43 forks source link

Add github workflow for basic unit tests #87

Closed jwbensley closed 1 year ago

jwbensley commented 1 year ago

Add basic unit tests which confirm that formatting and sources are working, in relation to issue #86.

I have added example outputs for various types of bgpq4 operations, to act as reference data, for how the output should look like.

When PRs are raised, the github workflow generates all the same outputs and compares them to the stored "known-good" references and checks there are no differences as a result of the PR.

One can of course update the reference data (by using the same script, which is explained in the README).