Ci GitHub caching (#6382)

* Cache Github Actions CI

* Remove useless file
This commit is contained in:
Lysandre Debut
2020-08-10 10:39:31 -04:00
committed by GitHub
parent b99098abc7
commit 79588e6fdb
4 changed files with 26 additions and 20 deletions

View File

@@ -25,6 +25,14 @@ jobs:
- name: Current dir
run: pwd
- run: nvidia-smi
- name: Loading cache.
uses: actions/cache@v2
id: cache
with:
path: .env
key: v0-tests_tf_torch_gpu-${{ hashFiles('setup.py') }}
- name: Create new python env (on self-hosted runners we have to handle isolation ourselves)
run: |
python -m venv .env