mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	circleci: Integrate codespell.
Run codespell against documentation and during Linux test run. Use codespell_whitelist.txt dictionary to whitelist words that should not be considered as misspelled. Currently whitelist "iff" and "nd". Refs: #4442
This commit is contained in:
		
							parent
							
								
									d84976dc87
								
							
						
					
					
						commit
						d454cec1bd
					
				| @ -158,6 +158,23 @@ jobs: | ||||
|       - store_artifacts: *solc_artifact | ||||
|       - persist_to_workspace: *all_artifacts | ||||
| 
 | ||||
|   test_check_spelling: | ||||
|     docker: | ||||
|       - image: circleci/python:3.6 | ||||
|     environment: | ||||
|       TERM: xterm | ||||
|     steps: | ||||
|       - checkout | ||||
|       - attach_workspace: | ||||
|           at: build | ||||
|       - run: | ||||
|           name: Install dependencies | ||||
|           command: | | ||||
|             pip install --user codespell | ||||
|       - run: | ||||
|           name: Check spelling | ||||
|           command: ~/.local/bin/codespell -S "*.enc,.git" -I ./scripts/codespell_whitelist.txt | ||||
| 
 | ||||
|   test_x86_linux: | ||||
|     docker: | ||||
|       - image: buildpack-deps:artful | ||||
| @ -220,6 +237,7 @@ workflows: | ||||
|   version: 2 | ||||
|   build_all: | ||||
|     jobs: | ||||
|       - test_check_spelling: *build_on_tags | ||||
|       - build_emscripten: *build_on_tags | ||||
|       - test_emscripten_solcjs: | ||||
|           <<: *build_on_tags | ||||
|  | ||||
							
								
								
									
										3
									
								
								scripts/codespell_whitelist.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								scripts/codespell_whitelist.txt
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,3 @@ | ||||
| iff | ||||
| nd | ||||
| assignend | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user