mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Run jest tests in ci & upload coverage
update playwright
This commit is contained in:
		
							
								
								
									
										14
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @@ -202,10 +202,20 @@ jobs: | ||||
|         name: Linting checks | ||||
|         run: cd src-ui && npm run lint | ||||
|       - | ||||
|         name: Run Playwright tests | ||||
|         name: Run Jest unit tests | ||||
|         run: cd src-ui && npm run test | ||||
|       - | ||||
|         name: Upload Jest coverage | ||||
|         if: always() | ||||
|         uses: actions/upload-artifact@v3 | ||||
|         with: | ||||
|           name: jest-coverage-report | ||||
|           path: src-ui/coverage | ||||
|       - | ||||
|         name: Run Playwright e2e tests | ||||
|         run: cd src-ui && npx playwright test | ||||
|       - | ||||
|         name: Upload test results | ||||
|         name: Upload Playwright test results | ||||
|         if: always() | ||||
|         uses: actions/upload-artifact@v3 | ||||
|         with: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 shamoon
					shamoon