Give the finite-difference coefficients the buffer range the IB force asks for #6724
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Lint Toolchain | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| workflow_dispatch: | |
| # Least-privilege default: no job in this workflow writes to the repo. | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint-toolchain: | |
| name: Lint Toolchain | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Initialize MFC | |
| run: ./mfc.sh init | |
| - name: Precheck (format, spelling, lint, source lint, docs) | |
| run: ./mfc.sh precheck -j $(nproc) | |
| - name: Generate toolchain files | |
| run: ./mfc.sh generate | |
| - name: CLI smoke tests | |
| run: | | |
| ./mfc.sh --help | |
| ./mfc.sh build --help | |
| ./mfc.sh run --help | |
| ./mfc.sh test --help | |
| ./mfc.sh params --count | |
| ./mfc.sh new --list | |
| - name: Bash completion syntax check | |
| run: bash -n toolchain/completions/mfc.bash | |
| - name: Validate example cases | |
| run: | | |
| failed=0 | |
| passed=0 | |
| for case in examples/*/case.py; do | |
| [ -f "$case" ] || continue | |
| output=$(./mfc.sh validate "$case" 2>&1) | |
| if [ $? -eq 0 ]; then | |
| passed=$((passed + 1)) | |
| else | |
| echo "FAIL: $case" | |
| echo "$output" | |
| failed=$((failed + 1)) | |
| fi | |
| done | |
| echo "" | |
| echo "Results: $passed passed, $failed failed" | |
| if [ "$failed" -ne 0 ]; then | |
| exit 1 | |
| fi |