We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3519822 commit 63e25b4Copy full SHA for 63e25b4
.github/workflows/ompi_nvidia.yaml
@@ -1,7 +1,9 @@
1
name: ompi_NVIDIA CI
2
on: [pull_request]
3
jobs:
4
+
5
deployment:
6
+ if: github.repository == 'open-mpi/ompi'
7
runs-on: [self-hosted, linux, x64, nvidia]
8
steps:
9
- name: Checkout
@@ -28,7 +30,11 @@ jobs:
28
30
- name: Running tests
29
31
run: /start test
32
clean:
- if: ${{ always() }}
33
+# always() should be used to run "clean" even when the workflow was canceled
34
+# ( in case of the right repository name)
35
+# The second condition doesn't work when the workflow was canceled
36
37
+ if: always() && (github.repository == 'open-mpi/ompi')
38
needs: [deployment, build, test]
39
40
0 commit comments