Ensure new health endpoint builds on MacOS (#1215)

* Add mac build to CI

* Always return an error for Health when not linux

* Change macos workflow

* Rename macos tests

* Disable health API test on Mac

Co-authored-by: Michael Sproul <michael@sigmaprime.io>
This commit is contained in:
Paul Hauner
2020-06-01 21:18:31 +10:00
committed by GitHub
parent cb26ddebb1
commit 723c7cbd27
5 changed files with 27 additions and 2 deletions

View File

@@ -1253,6 +1253,7 @@ mod validator_attestation {
}
}
#[cfg(target_os = "linux")]
#[test]
fn get_health() {
let mut env = build_env();