Update restore dependency test

This commit is contained in:
panticmilos 2022-07-19 13:12:19 +02:00
parent a0c296a502
commit bce0bb9af2

View file

@ -122,7 +122,7 @@ virtualenvs.path = "{cache-dir}/virtualenvs" # /Users/patrick/Library/Caches/py
await cacheDistributor.restoreCache();
if (process.platform === 'linux') {
if (process.platform === 'linux' && packageManager === 'pip') {
expect(infoSpy).toHaveBeenCalledWith(
`Cache restored from key: setup-python-${process.env['RUNNER_OS']}-Ubuntu-20.4-python-${pythonVersion}-${packageManager}-${fileHash}`
);