ci: --pedantic is too much for now
This commit is contained in:
		
							parent
							
								
									08cfcc4f2b
								
							
						
					
					
						commit
						be25c28822
					
				
							
								
								
									
										4
									
								
								.github/workflows/linux-nightly.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/linux-nightly.yml
									
									
									
									
										vendored
									
									
								
							@ -172,8 +172,8 @@ jobs:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    - name: Build hledger and test unit tests, doc tests
 | 
					    - name: Build hledger and test unit tests, doc tests
 | 
				
			||||||
      run: |
 | 
					      run: |
 | 
				
			||||||
        stack $ARGS build --pedantic --test --bench
 | 
					        stack $ARGS build --test --bench --ghc-options=-Werror
 | 
				
			||||||
        #  --ghc-options=-Werror --no-terminal  #  --no-run-benchmarks
 | 
					        #   --pedantic --no-terminal  #  --no-run-benchmarks
 | 
				
			||||||
      env:
 | 
					      env:
 | 
				
			||||||
        ARGS: ${{ matrix.plan.resolver }}
 | 
					        ARGS: ${{ matrix.plan.resolver }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										4
									
								
								.github/workflows/mac-nightly.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/mac-nightly.yml
									
									
									
									
										vendored
									
									
								
							@ -117,8 +117,8 @@ jobs:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    - name: Build hledger and test unit tests, doc tests
 | 
					    - name: Build hledger and test unit tests, doc tests
 | 
				
			||||||
      run: |
 | 
					      run: |
 | 
				
			||||||
        stack build --pedantic --test
 | 
					        stack build --test --ghc-options=-Werror
 | 
				
			||||||
      #  --ghc-options=-Werror
 | 
					      #  --pedantic
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Install shelltestrunner
 | 
					    - name: Install shelltestrunner
 | 
				
			||||||
      run: |
 | 
					      run: |
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										4
									
								
								.github/workflows/push.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/push.yml
									
									
									
									
										vendored
									
									
								
							@ -108,8 +108,8 @@ jobs:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    - name: Build hledger fast
 | 
					    - name: Build hledger fast
 | 
				
			||||||
      run: |
 | 
					      run: |
 | 
				
			||||||
        stack build --fast --pedantic
 | 
					        stack build --fast --ghc-options=-Werror
 | 
				
			||||||
      #  --ghc-options=-Werror
 | 
					      #  --pedantic
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Install shelltestrunner
 | 
					    - name: Install shelltestrunner
 | 
				
			||||||
      run: |
 | 
					      run: |
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										4
									
								
								.github/workflows/windows-nightly.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/windows-nightly.yml
									
									
									
									
										vendored
									
									
								
							@ -139,8 +139,8 @@ jobs:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    - name: Build hledger executables
 | 
					    - name: Build hledger executables
 | 
				
			||||||
      run: |
 | 
					      run: |
 | 
				
			||||||
        stack --no-terminal install --pedantic
 | 
					        stack --no-terminal install --ghc-options=-Werror
 | 
				
			||||||
      # --ghc-options=-Werror
 | 
					      # --pedantic
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # run hledger-lib/hledger functional tests, skipping the ones for addons
 | 
					    # run hledger-lib/hledger functional tests, skipping the ones for addons
 | 
				
			||||||
    #- COLUMNS=80 stack exec -- shelltest --execdir -j16 tests -x /bin -x /addons
 | 
					    #- COLUMNS=80 stack exec -- shelltest --execdir -j16 tests -x /bin -x /addons
 | 
				
			||||||
 | 
				
			|||||||
@ -27,6 +27,7 @@ import System.Environment
 | 
				
			|||||||
import "Glob" System.FilePath.Glob
 | 
					import "Glob" System.FilePath.Glob
 | 
				
			||||||
import Test.DocTest
 | 
					import Test.DocTest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					main :: IO ()
 | 
				
			||||||
main = do
 | 
					main = do
 | 
				
			||||||
  args <- getArgs
 | 
					  args <- getArgs
 | 
				
			||||||
  let
 | 
					  let
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user