Skip to content

Commit 5d30443

Browse files
use presence of TOXPYTHON env var to determine if running in GitHub Actions
1 parent 89d6bda commit 5d30443

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/geophires_x_tests/test_economics_sam.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ def test_unsupported_econ_params_ignored_with_warning(self):
388388
with self.assertLogs(level='INFO') as logs:
389389
gtr_provided_result = self._get_result({'Gross Revenue Tax Rate': 0.5})
390390

391-
is_github_actions = 'CI' in os.environ
391+
is_github_actions = 'CI' in os.environ or 'TOXPYTHON' in os.environ
392392
try:
393393
self.assertHasLogRecordWithMessage(
394394
logs,

0 commit comments

Comments
 (0)