don't fail when there are no zombies (#10308)

This commit is contained in:
Stas Bekman
2021-02-20 13:28:43 -08:00
committed by GitHub
parent a2e379743c
commit cdd31b4de4
2 changed files with 8 additions and 8 deletions

View File

@@ -31,7 +31,7 @@ jobs:
- run: nvidia-smi
- name: Kill any run-away pytest processes
run: pkill -f tests; pkill -f examples
run: (pkill -f tests; pkill -f examples) || echo "no zombies"
- name: Loading cache.
uses: actions/cache@v2
@@ -106,7 +106,7 @@ jobs:
- run: nvidia-smi
- name: Kill any run-away pytest processes
run: pkill -f tests; pkill -f examples
run: (pkill -f tests; pkill -f examples) || echo "no zombies"
- name: Loading cache.
uses: actions/cache@v2
@@ -179,7 +179,7 @@ jobs:
- run: nvidia-smi
- name: Kill any run-away pytest processes
run: pkill -f tests; pkill -f examples
run: (pkill -f tests; pkill -f examples) || echo "no zombies"
- name: Loading cache.
uses: actions/cache@v2
@@ -243,7 +243,7 @@ jobs:
- run: nvidia-smi
- name: Kill any run-away pytest processes
run: pkill -f tests; pkill -f examples
run: (pkill -f tests; pkill -f examples) || echo "no zombies"
- name: Loading cache.
uses: actions/cache@v2

View File

@@ -35,7 +35,7 @@ jobs:
- run: nvidia-smi
- name: Kill any run-away pytest processes
run: pkill -f tests; pkill -f examples
run: (pkill -f tests; pkill -f examples) || echo "no zombies"
- name: Create new python env (on self-hosted runners we have to handle isolation ourselves)
if: steps.cache.outputs.cache-hit != 'true'
@@ -133,7 +133,7 @@ jobs:
- run: nvidia-smi
- name: Kill any run-away pytest processes
run: pkill -f tests; pkill -f examples
run: (pkill -f tests; pkill -f examples) || echo "no zombies"
- name: Create new python env (on self-hosted runners we have to handle isolation ourselves)
@@ -217,7 +217,7 @@ jobs:
- run: nvidia-smi
- name: Kill any run-away pytest processes
run: pkill -f tests; pkill -f examples
run: (pkill -f tests; pkill -f examples) || echo "no zombies"
- name: Create new python env (on self-hosted runners we have to handle isolation ourselves)
if: steps.cache.outputs.cache-hit != 'true'
@@ -316,7 +316,7 @@ jobs:
- run: nvidia-smi
- name: Kill any run-away pytest processes
run: pkill -f tests; pkill -f examples
run: (pkill -f tests; pkill -f examples) || echo "no zombies"
- name: Create new python env (on self-hosted runners we have to handle isolation ourselves)
if: steps.cache.outputs.cache-hit != 'true'