Add GitHub CI security and release workflows
This commit is contained in:
parent
9422cd0da4
commit
1006f41e45
10 changed files with 396 additions and 0 deletions
|
|
@ -12453,6 +12453,10 @@ mod tests {
|
|||
use super::*;
|
||||
use tokio::io::AsyncReadExt;
|
||||
|
||||
fn skip_iroh_integration_tests() -> bool {
|
||||
std::env::var_os("GETH_TEST_SKIP_IROH").is_some()
|
||||
}
|
||||
|
||||
#[derive(Debug, PartialEq, Eq)]
|
||||
enum RemoteGuardKind {
|
||||
Capability,
|
||||
|
|
@ -13121,6 +13125,10 @@ mod tests {
|
|||
|
||||
#[tokio::test]
|
||||
async fn peer_ping_uses_signed_peer_card_over_iroh() {
|
||||
if skip_iroh_integration_tests() {
|
||||
eprintln!("skipping Iroh integration test because GETH_TEST_SKIP_IROH is set");
|
||||
return;
|
||||
}
|
||||
let left_home = tempfile::tempdir().expect("left home");
|
||||
let right_home = tempfile::tempdir().expect("right home");
|
||||
let left_paths = GethPaths::from_home(left_home.path());
|
||||
|
|
@ -14719,6 +14727,10 @@ mod tests {
|
|||
|
||||
#[tokio::test]
|
||||
async fn overlay_packets_route_over_dedicated_iroh_alpn_with_authorization() {
|
||||
if skip_iroh_integration_tests() {
|
||||
eprintln!("skipping Iroh integration test because GETH_TEST_SKIP_IROH is set");
|
||||
return;
|
||||
}
|
||||
let left_home = tempfile::tempdir().expect("left home");
|
||||
let right_home = tempfile::tempdir().expect("right home");
|
||||
let left_paths = GethPaths::from_home(left_home.path());
|
||||
|
|
|
|||
Loading…
Reference in a new issue