Skip to content

Commit

Permalink
feat: pass network name to tests (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
smrz2001 authored Jan 23, 2024
1 parent ea69f56 commit b95c732
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hermetic/src/cli/tester.rs
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,11 @@ fn smoke_job(namespace: &str, image: Option<String>, test_selector: String) -> J
value: Some(test_selector),
..Default::default()
},
EnvVar {
name: "NETWORK".to_owned(),
value: Some("local".to_owned()),
..Default::default()
},
]),
..Default::default()
}],
Expand Down
2 changes: 2 additions & 0 deletions suite/env/.env.dev
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
ANCHOR_INTERVAL_MIN=780
COMPOSEDB_URLS=
CERAMIC_URLS=
NETWORK=dev-unstable
STAGE=dev
2 changes: 2 additions & 0 deletions suite/env/.env.prod
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
ANCHOR_INTERVAL_MIN=1440
COMPOSEDB_URLS=
CERAMIC_URLS=
NETWORK=mainnet
STAGE=prod
2 changes: 2 additions & 0 deletions suite/env/.env.qa
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
ANCHOR_INTERVAL_MIN=780
COMPOSEDB_URLS=
CERAMIC_URLS=
NETWORK=dev-unstable
STAGE=qa
2 changes: 2 additions & 0 deletions suite/env/.env.tnet
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
ANCHOR_INTERVAL_MIN=1440
COMPOSEDB_URLS=
CERAMIC_URLS=
NETWORK=testnet-clay
STAGE=tnet

0 comments on commit b95c732

Please sign in to comment.