We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73d1623 commit 9b8b345Copy full SHA for 9b8b345
.github/workflows/homebrew.yml
@@ -147,11 +147,11 @@ jobs:
147
- name: Run MFC test case
148
run: |
149
echo "Running a simple test case (1D Sod shock tube)..."
150
- cd $(mktemp -d)
151
- cp $(brew --prefix mfc)/examples/1D_sodshocktube/case.py .
+ TESTDIR=$(mktemp -d)
+ cp $(brew --prefix mfc)/examples/1D_sodshocktube/case.py "$TESTDIR/"
152
153
echo "Running with $(sysctl -n hw.ncpu) processors..."
154
- mfc run case.py -j $(sysctl -n hw.ncpu)
+ mfc run "$TESTDIR/case.py" -j $(sysctl -n hw.ncpu)
155
156
echo "Test case completed successfully!"
157
0 commit comments