Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/ompi_nvidia.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on: [pull_request]
jobs:

deployment:
if: github.repository == 'open-mpi/ompi'
runs-on: [self-hosted, linux, x64, nvidia]
steps:
- name: Checkout
Expand All @@ -29,7 +30,11 @@ jobs:
- name: Running tests
run: /start test
clean:
if: ${{ always() }}
# always() should be used to run "clean" even when the workflow was canceled
# ( in case of the right repository name)
# The second condition doesn't work when the workflow was canceled

if: always() && (github.repository == 'open-mpi/ompi')
needs: [deployment, build, test]
runs-on: [self-hosted, linux, x64, nvidia]
steps:
Expand Down