mozilla-services / autograph-edge

Public endpoint of the Autograph signing service
https://hub.docker.com/r/mozilla/autographedge/
4 stars 5 forks source link

AUT-105: GitHub workflow for testing #329

Closed oskirby closed 1 week ago

oskirby commented 1 week ago

This creates a github workflow to run the unit and integration tests for pull requests and on merge to the main branch.

Along the way we also encountered a flaky test that needed fixing. In particular connections to http://localhost:8000 don't result in deterministic error messages because localhost can resolve to either 127.0.0.1 or [::]. To get a consistent result we needed to force the tests to use a fixed localhost address.

oskirby commented 1 week ago

Sorry for the rebasing chaos - I am learning how to sign commits on Github :)