mirror of
https://github.com/actions/setup-python.git
synced 2025-11-10 06:56:57 +00:00
When the default dependency path is used for cache distributors, they are looking for the dependency file in the project's root (including the source code), which leads to tests taking a significant amount of time, especially on Windows runners. We thus hit sporadic test failures. Change the test cases such that dependency files are always searched for inside of `__tests__/data`, ignoring the rest of the project. |
||
|---|---|---|
| .. | ||
| data | ||
| cache-restore.test.ts | ||
| cache-save.test.ts | ||
| check-python-path.sh | ||
| find-pypy.test.ts | ||
| finder.test.ts | ||
| install-pypy.test.ts | ||
| utils.test.ts | ||
| verify-python.py | ||