ci: identify faulted node via sacct when the .out marker is missing #2016
Workflow file for this run
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: Convergence | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| workflow_dispatch: | |
| env: | |
| OMPI_MCA_rmaps_base_oversubscribe: 1 | |
| # Least-privilege default: no job in this workflow writes to the repo. | |
| permissions: | |
| contents: read | |
| jobs: | |
| file-changes: | |
| name: Detect File Changes | |
| # Job-level permissions replace the workflow default outright rather than | |
| # merging with it, so contents must be restated here. paths-filter reads the | |
| # PR's changed-file list via pulls.listFiles; this is the only job that needs | |
| # it, so it is granted here instead of workflow-wide. | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| runs-on: ubuntu-latest | |
| outputs: | |
| checkall: ${{ steps.changes.outputs.checkall }} | |
| steps: | |
| - name: Clone | |
| uses: actions/checkout@v5 | |
| - name: Detect Changes | |
| uses: dorny/paths-filter@v4 | |
| id: changes | |
| with: | |
| filters: ".github/file-filter.yml" | |
| convergence: | |
| name: "Convergence" | |
| runs-on: ubuntu-latest | |
| needs: [file-changes] | |
| if: >- | |
| !cancelled() && | |
| needs.file-changes.result == 'success' && | |
| (needs.file-changes.outputs.checkall == 'true' || github.event_name == 'workflow_dispatch') | |
| timeout-minutes: 240 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Setup Ubuntu | |
| run: | | |
| sudo apt update -y | |
| sudo apt install -y cmake gcc g++ python3 python3-dev \ | |
| openmpi-bin libopenmpi-dev | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.12" | |
| - name: Build MFC | |
| run: ./mfc.sh build -j 4 | |
| - name: Run convergence tests | |
| run: ./mfc.sh test --only Convergence --no-build -j 1 |