From 8b8fe344eadd18b0233e693e36c956edb9e0716e Mon Sep 17 00:00:00 2001 From: Terry McGuinness Date: Tue, 25 Jun 2024 18:56:01 -0400 Subject: [PATCH] outputing EXPDIR before running Config in setup xml --- .github/workflows/ci_uint_tests.yaml | 2 +- workflow/setup_xml.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci_uint_tests.yaml b/.github/workflows/ci_uint_tests.yaml index fe46842fc0..da91e2dad6 100644 --- a/.github/workflows/ci_uint_tests.yaml +++ b/.github/workflows/ci_uint_tests.yaml @@ -60,7 +60,7 @@ jobs: #ls -l $GITHUB_WORKSPACE/ci/scripts/tests/testdata/RUNDIR/C48_ATM #grep EXPDIR $GITHUB_WORKSPACE/ci/scripts/tests/testdata/RUNDIR/C48_ATM/config.base #echo "EXPDIR: ${EXPDIR}" - #pytest -v -k test_setup_xml + pytest -v -k test_setup_xml - name: Publish Test Results diff --git a/workflow/setup_xml.py b/workflow/setup_xml.py index a66e4922a3..18e8f6cac0 100755 --- a/workflow/setup_xml.py +++ b/workflow/setup_xml.py @@ -57,6 +57,9 @@ def main(*argv): 'taskthrottle': user_inputs.taskthrottle, 'verbosity': user_inputs.verbosity} + current_env = os.environ.copy() + print( f'EXPDIR: {current_env['EXPDIR']}') + cfg = Configuration(user_inputs.expdir) base = cfg.parse_config('config.base')