Skip to content

Commit

Permalink
outputing EXPDIR before running Config in setup xml
Browse files Browse the repository at this point in the history
  • Loading branch information
TerryMcGuinness-NOAA committed Jun 25, 2024
1 parent e18ee96 commit 8b8fe34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci_uint_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions workflow/setup_xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 8b8fe34

Please sign in to comment.