Skip to content

Heat 1.5.1 - Release #2212

Heat 1.5.1 - Release

Heat 1.5.1 - Release #2212

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@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
with:
egress-policy: audit
- uses: actions/[email protected]
- name: Use Python
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.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@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
name: pr_number
path: pr/