mirror of
				https://gitea.publichub.eu/oscar.krause/fastapi-dls.git
				synced 2025-11-04 14:16:10 +00:00 
			
		
		
		
	fixes
This commit is contained in:
		@@ -191,12 +191,13 @@ code_quality:
 | 
			
		||||
 | 
			
		||||
test_coverage:
 | 
			
		||||
  extends: test
 | 
			
		||||
  allow_failure: true
 | 
			
		||||
  rules:
 | 
			
		||||
    - if: $CI_PIPELINE_SOURCE == "merge_request_event"
 | 
			
		||||
    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
 | 
			
		||||
  script:
 | 
			
		||||
    - pip install pytest pytest-cov
 | 
			
		||||
    - coverage run -m pytest
 | 
			
		||||
    - coverage run -m pytest main.py
 | 
			
		||||
    - coverage report
 | 
			
		||||
    - coverage xml
 | 
			
		||||
  coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user