Skip to content

Commit 1e6a5b6

Browse files
committed
parse GHA environ
1 parent 603f478 commit 1e6a5b6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bgcval2/_runtime_config.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ def _establish_hostname():
6161
elif gethostname().find('pmpc') > -1:
6262
hostname = "pml"
6363
elif gethostname().find('-az') > -1:
64-
hostname = "local-test-only" # for testing on GA machine
64+
hostname = "local-test-only" # for testing on GA machine (old type)
65+
elif os.environ("hostname") == "github":
66+
hostname = "local-test-only" # for testing on GA machine (new type)
6567
# FIXME local testing only
6668
elif gethostname().find('valeriu-PORTEGE-Z30-C') > -1:
6769
hostname = "local-test-only" # for testing on V's laptop

0 commit comments

Comments
 (0)