Skip to content

Commit

Permalink
debugging github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
scrasmussen committed Apr 26, 2024
1 parent 6ed3a2a commit c0d9bf2
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,29 +115,26 @@ jobs:
make run-croton-${{ matrix.configuration }}
- name: Compare Restart Output with xrcmp
- name: Compare HYDRO_RST.* Output with xrcmp
run: |
cd $GITHUB_WORKSPACE/candidate/build/Run
for file in output_${{ matrix.configuration }}/HYDRO_RST.*; do\
echo "FILE = ${file}" \
echo "DIR CHECK = $GITHUB_WORKSPACE/candidate/build/Run/$file" \
ls $GITHUB_WORKSPACE/candidate/build/Run/$file \
python ${GITHUB_WORKSPACE}/candidate/tests/utils/xrcmp.py \
--candidate $file \
--reference $GITHUB_WORKSPACE/candidate/build/Run/$file \
--log_file $file_diff.txt \
--n_cores 1; \
done
- name: Compare RESTART.* Output with xrcmp
run: |
cd $GITHUB_WORKSPACE/candidate/build/Run
for file in output_${{ matrix.configuration }}/RESTART.*; do\
python ${GITHUB_WORKSPACE}/candidate/tests/utils/xrcmp.py \
--candidate $file \
--reference $GITHUB_WORKSPACE/candidate/build/Run/$file \
--log_file $file_diff.txt \
--n_cores 1; \
done
# for file in output_${{ matrix.configuration }}/HYDRO_RST.*; do\
# --log_file $file_diff.txt; \
# done
- name: Compare Output with compare_output
run: |
Expand Down

0 comments on commit c0d9bf2

Please sign in to comment.