ci: GHA: remove unnecessary check for `success()`
Following jobs get aborted on failure. Ref: https://github.com/pytest-dev/pytest/pull/6530
This commit is contained in:
		
							parent
							
								
									a52f791461
								
							
						
					
					
						commit
						9869a3d9e1
					
				| 
						 | 
					@ -138,18 +138,18 @@ jobs:
 | 
				
			||||||
      run: "tox -e ${{ matrix.tox_env }}"
 | 
					      run: "tox -e ${{ matrix.tox_env }}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Prepare coverage token
 | 
					    - name: Prepare coverage token
 | 
				
			||||||
      if: success() && !matrix.skip_coverage && ( github.repository == 'pytest-dev/pytest' || github.event_name == 'pull_request' )
 | 
					      if: (!matrix.skip_coverage && ( github.repository == 'pytest-dev/pytest' || github.event_name == 'pull_request' ))
 | 
				
			||||||
      run: |
 | 
					      run: |
 | 
				
			||||||
        python scripts/append_codecov_token.py
 | 
					        python scripts/append_codecov_token.py
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Combine coverage
 | 
					    - name: Combine coverage
 | 
				
			||||||
      if: success() && !matrix.skip_coverage
 | 
					      if: (!matrix.skip_coverage)
 | 
				
			||||||
      run: |
 | 
					      run: |
 | 
				
			||||||
        python -m coverage combine
 | 
					        python -m coverage combine
 | 
				
			||||||
        python -m coverage xml
 | 
					        python -m coverage xml
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Codecov upload
 | 
					    - name: Codecov upload
 | 
				
			||||||
      if: success() && !matrix.skip_coverage
 | 
					      if: (!matrix.skip_coverage)
 | 
				
			||||||
      uses: codecov/codecov-action@v1
 | 
					      uses: codecov/codecov-action@v1
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        token: ${{ secrets.codecov }}
 | 
					        token: ${{ secrets.codecov }}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue