mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	Updates the coverage to upload on push, not pull request, as dev doesn't upload fully otherwise
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							@@ -161,7 +161,7 @@ jobs:
 | 
			
		||||
          pipenv --python ${{ steps.setup-python.outputs.python-version }} run pytest -ra
 | 
			
		||||
      -
 | 
			
		||||
        name: Upload coverage to Codecov
 | 
			
		||||
        if: ${{ matrix.python-version == env.DEFAULT_PYTHON_VERSION && github.event_name == 'pull_request'}}
 | 
			
		||||
        if: ${{ matrix.python-version == env.DEFAULT_PYTHON_VERSION && github.event_name == 'push'}}
 | 
			
		||||
        uses: codecov/codecov-action@v3
 | 
			
		||||
        with:
 | 
			
		||||
          # not required for public repos, but intermittently fails otherwise
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user