mirror of
				https://gitea.com/actions/setup-python.git
				synced 2025-10-31 11:48:56 +08:00 
			
		
		
		
	Add and configure ESLint and update configuration for Prettier (#617)
* Add ESLint, update Prettier * Update docs * Update tests * Update licenses * Fix review points
This commit is contained in:
		| @@ -116,22 +116,6 @@ describe('run', () => { | ||||
|       ); | ||||
|       expect(setFailedSpy).not.toHaveBeenCalled(); | ||||
|     }); | ||||
|  | ||||
|     it('should not save cache for pipenv', async () => { | ||||
|       inputs['cache'] = 'pipenv'; | ||||
|  | ||||
|       await run(); | ||||
|  | ||||
|       expect(getInputSpy).toHaveBeenCalled(); | ||||
|       expect(debugSpy).toHaveBeenCalledWith( | ||||
|         `paths for caching are ${__dirname}` | ||||
|       ); | ||||
|       expect(getStateSpy).toHaveBeenCalledTimes(3); | ||||
|       expect(infoSpy).toHaveBeenCalledWith( | ||||
|         `Cache hit occurred on the primary key ${requirementsHash}, not saving cache.` | ||||
|       ); | ||||
|       expect(setFailedSpy).not.toHaveBeenCalled(); | ||||
|     }); | ||||
|   }); | ||||
|  | ||||
|   describe('action saves the cache', () => { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Ivan
					Ivan