Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
yardasol committed Feb 16, 2023
1 parent 7b5920b commit 72d02bc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test-saltproc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,10 @@ jobs:
- name: Install SaltProc
run: pip install .

- name: Test SaltProc
- name: Environment variables
run: |
echo "OPENMC_CROSS_SECTIONS=$HOME/endfb71_hdf5/cross_sections.xml" >> $GITHUB_ENV
pytest --ignore tests/integration_tests/run_no_reprocessing --ignore tests/integration_tests/run_constant_reprocessing tests/
- name: Test SaltProc
run: |
pytest --ignore tests/integration_tests/run_no_reprocessing_serpent --ignore tests/integration_tests/run_no_reprocessing_openmc --ignore tests/integration_tests/run_constant_reprocessing_serpent --ignore tests/integration_tests/run_constant_reprocessing_openmc tests/
2 changes: 1 addition & 1 deletion scripts/ci/openmc-xs.bash
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
set -ex

wget -q -O - https://anl.box.com/shared/static/9igk353zpy8fn9ttvtrqgzvw1vtejoz6.xz | tar -C $HOME -xJ

mv $HOME/endfb-vii.1-hdf5 $HOME/endfb71_hdf5
Binary file added tests/openmc_data/saltproc_runtime_ref/summary.h5
Binary file not shown.
2 changes: 0 additions & 2 deletions tests/unit_tests/test_openmc_depcode.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ def test_read_step_metadata(openmc_depcode):
assert openmc_depcode.step_metadata['depcode_input_filename'] == ''
assert openmc_depcode.step_metadata['depcode_working_dir'] == \
'/home/ooblack/projects/saltproc/tests/openmc_data/saltproc_runtime_ref'
assert openmc_depcode.step_metadata['xs_data_path'] == \
'/home/ooblack/projects/cross-section-libraries/endfb71_hdf5/cross_sections.xml'
assert openmc_depcode.step_metadata['MPI_tasks'] == -1
assert openmc_depcode.step_metadata['OMP_threads'] == -1
assert openmc_depcode.step_metadata['memory_optimization_mode'] == -1
Expand Down

0 comments on commit 72d02bc

Please sign in to comment.