mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-04 21:30:07 +06:00
Kill any run-away pytest processes (#10281)
This commit is contained in:
parent
709c86b5a9
commit
f1299f5038
18
.github/workflows/self-push.yml
vendored
18
.github/workflows/self-push.yml
vendored
@ -27,8 +27,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Current dir
|
- name: Current dir
|
||||||
run: pwd
|
run: pwd
|
||||||
|
|
||||||
- run: nvidia-smi
|
- run: nvidia-smi
|
||||||
|
|
||||||
|
- name: Kill any run-away pytest processes
|
||||||
|
run: pkill -f tests; pkill -f examples
|
||||||
|
|
||||||
- name: Loading cache.
|
- name: Loading cache.
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
id: cache
|
id: cache
|
||||||
@ -95,10 +99,15 @@ jobs:
|
|||||||
which python
|
which python
|
||||||
python --version
|
python --version
|
||||||
pip --version
|
pip --version
|
||||||
|
|
||||||
- name: Current dir
|
- name: Current dir
|
||||||
run: pwd
|
run: pwd
|
||||||
|
|
||||||
- run: nvidia-smi
|
- run: nvidia-smi
|
||||||
|
|
||||||
|
- name: Kill any run-away pytest processes
|
||||||
|
run: pkill -f tests; pkill -f examples
|
||||||
|
|
||||||
- name: Loading cache.
|
- name: Loading cache.
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
id: cache
|
id: cache
|
||||||
@ -166,8 +175,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Current dir
|
- name: Current dir
|
||||||
run: pwd
|
run: pwd
|
||||||
|
|
||||||
- run: nvidia-smi
|
- run: nvidia-smi
|
||||||
|
|
||||||
|
- name: Kill any run-away pytest processes
|
||||||
|
run: pkill -f tests; pkill -f examples
|
||||||
|
|
||||||
- name: Loading cache.
|
- name: Loading cache.
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
id: cache
|
id: cache
|
||||||
@ -226,8 +239,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Current dir
|
- name: Current dir
|
||||||
run: pwd
|
run: pwd
|
||||||
|
|
||||||
- run: nvidia-smi
|
- run: nvidia-smi
|
||||||
|
|
||||||
|
- name: Kill any run-away pytest processes
|
||||||
|
run: pkill -f tests; pkill -f examples
|
||||||
|
|
||||||
- name: Loading cache.
|
- name: Loading cache.
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
id: cache
|
id: cache
|
||||||
@ -272,4 +289,3 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: run_all_tests_tf_multi_gpu_test_reports
|
name: run_all_tests_tf_multi_gpu_test_reports
|
||||||
path: reports
|
path: reports
|
||||||
|
|
||||||
|
17
.github/workflows/self-scheduled.yml
vendored
17
.github/workflows/self-scheduled.yml
vendored
@ -31,8 +31,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Current dir
|
- name: Current dir
|
||||||
run: pwd
|
run: pwd
|
||||||
|
|
||||||
- run: nvidia-smi
|
- run: nvidia-smi
|
||||||
|
|
||||||
|
- name: Kill any run-away pytest processes
|
||||||
|
run: pkill -f tests; pkill -f examples
|
||||||
|
|
||||||
- name: Create new python env (on self-hosted runners we have to handle isolation ourselves)
|
- name: Create new python env (on self-hosted runners we have to handle isolation ourselves)
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
if: steps.cache.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
@ -125,8 +129,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Current dir
|
- name: Current dir
|
||||||
run: pwd
|
run: pwd
|
||||||
|
|
||||||
- run: nvidia-smi
|
- run: nvidia-smi
|
||||||
|
|
||||||
|
- name: Kill any run-away pytest processes
|
||||||
|
run: pkill -f tests; pkill -f examples
|
||||||
|
|
||||||
|
|
||||||
- name: Create new python env (on self-hosted runners we have to handle isolation ourselves)
|
- name: Create new python env (on self-hosted runners we have to handle isolation ourselves)
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
if: steps.cache.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
@ -204,8 +213,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Current dir
|
- name: Current dir
|
||||||
run: pwd
|
run: pwd
|
||||||
|
|
||||||
- run: nvidia-smi
|
- run: nvidia-smi
|
||||||
|
|
||||||
|
- name: Kill any run-away pytest processes
|
||||||
|
run: pkill -f tests; pkill -f examples
|
||||||
|
|
||||||
- name: Create new python env (on self-hosted runners we have to handle isolation ourselves)
|
- name: Create new python env (on self-hosted runners we have to handle isolation ourselves)
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
if: steps.cache.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
@ -299,8 +312,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Current dir
|
- name: Current dir
|
||||||
run: pwd
|
run: pwd
|
||||||
|
|
||||||
- run: nvidia-smi
|
- run: nvidia-smi
|
||||||
|
|
||||||
|
- name: Kill any run-away pytest processes
|
||||||
|
run: pkill -f tests; pkill -f examples
|
||||||
|
|
||||||
- name: Create new python env (on self-hosted runners we have to handle isolation ourselves)
|
- name: Create new python env (on self-hosted runners we have to handle isolation ourselves)
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
if: steps.cache.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user