Skip to content

Commit

Permalink
mpi4py: Support for workflow_dispatch trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
dalcinl committed May 6, 2024
1 parent 4890203 commit 1163918
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/ompi_mpi4py.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
name: mpi4py

on: [ pull_request ]
on:
pull_request:
workflow_dispatch:
inputs:
repository:
description: 'mpi4py repository'
default: 'mpi4py/mpi4py'
required: false
type: string
ref:
description: 'mpi4py branch/tag/SHA'
default: 'master'
required: false
type: string

jobs:
build:
Expand Down Expand Up @@ -89,7 +102,8 @@ jobs:
- name: Checkout mpi4py
uses: actions/checkout@v4
with:
repository: "mpi4py/mpi4py"
repository: ${{ inputs.repository || 'mpi4py/mpi4py' }}
ref: ${{ inputs.ref }}

- name: Build mpi4py wheel
run: python -m pip wheel .
Expand Down

0 comments on commit 1163918

Please sign in to comment.