Revert "Reuse the cache created for latest main on PRs/branches" (#25466)

Revert "Reuse the cache created for latest `main` on PRs/branches if `setup.py` is not modified (#25445)"

This reverts commit 1d75768695.
This commit is contained in:
Yih-Dar
2023-08-11 21:07:08 +02:00
committed by GitHub
parent 5e5fa0d88c
commit fe3c8ab1af
2 changed files with 19 additions and 75 deletions

View File

@@ -34,9 +34,9 @@ jobs:
- run: pip install -U --upgrade-strategy eager GitPython
- run: pip install -U --upgrade-strategy eager .
- run: mkdir -p test_preparation
- run: python utils/tests_fetcher.py | tee test_preparation/tests_fetched_summary.txt
- run: python utils/tests_fetcher.py | tee tests_fetched_summary.txt
- store_artifacts:
path: test_preparation/tests_fetched_summary.txt
path: ~/transformers/tests_fetched_summary.txt
- run: |
if [ -f test_list.txt ]; then
cp test_list.txt test_preparation/test_list.txt