mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	ci: Add new check-node-fixtures tool to CI.
This tool only takes a couple seconds to run, so it's pretty low risk to add to CI.
This commit is contained in:
		@@ -10,6 +10,9 @@ set -x
 | 
				
			|||||||
# Run the node tests first, since they're fast and deterministic
 | 
					# Run the node tests first, since they're fast and deterministic
 | 
				
			||||||
./tools/test-js-with-node --coverage
 | 
					./tools/test-js-with-node --coverage
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Check the node fixtures (also fast)
 | 
				
			||||||
 | 
					./tools/check-node-fixtures
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Check capitalization of strings
 | 
					# Check capitalization of strings
 | 
				
			||||||
./manage.py makemessages --locale en
 | 
					./manage.py makemessages --locale en
 | 
				
			||||||
PYTHONWARNINGS=ignore ./tools/check-capitalization --no-generate
 | 
					PYTHONWARNINGS=ignore ./tools/check-capitalization --no-generate
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -69,6 +69,7 @@ run ./tools/test-api
 | 
				
			|||||||
# ci/frontend
 | 
					# ci/frontend
 | 
				
			||||||
run ./tools/lint --groups=frontend $FORCEARG
 | 
					run ./tools/lint --groups=frontend $FORCEARG
 | 
				
			||||||
run ./tools/test-js-with-node
 | 
					run ./tools/test-js-with-node
 | 
				
			||||||
 | 
					run ./tools/check-node-fixtures
 | 
				
			||||||
run ./manage.py makemessages --locale en
 | 
					run ./manage.py makemessages --locale en
 | 
				
			||||||
run env PYTHONWARNINGS=ignore ./tools/check-capitalization --no-generate
 | 
					run env PYTHONWARNINGS=ignore ./tools/check-capitalization --no-generate
 | 
				
			||||||
run env PYTHONWARNINGS=ignore ./tools/check-frontend-i18n --no-generate
 | 
					run env PYTHONWARNINGS=ignore ./tools/check-frontend-i18n --no-generate
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user