Skip to content

Features/1707 batched QR #2027

Features/1707 batched QR

Features/1707 batched QR #2027

Workflow file for this run

name: Receive PR
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- 'heat/**'
jobs:
build:
if: ${{ !startsWith(github.head_ref, 'support/') && (github.event.pull_request.draft == false) }}
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- uses: actions/[email protected]
- name: Use Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: 3.9
architecture: x64
- name: Setup MPI
uses: mpi4py/setup-mpi@40c19a60792debf8ca403a3e6ee5f84c4e76555d # v1.2.1
with:
mpi: openmpi
- name: Test
run: |
pip install .[dev]
pre-commit run --all-files
python -m unittest
- name: Save PR number
env:
PR_NUMBER: ${{ github.event.number }}
run: |
mkdir -p ./pr
echo $PR_NUMBER > ./pr/pr_number
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: pr_number
path: pr/