mirror of
				https://github.com/ets-labs/python-dependency-injector.git
				synced 2025-11-04 01:47:36 +03:00 
			
		
		
		
	Experiment with coveralls
This commit is contained in:
		
							parent
							
								
									9dd841ebc8
								
							
						
					
					
						commit
						2d3cdc01d2
					
				
							
								
								
									
										9
									
								
								.github/workflows/tests-and-linters.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								.github/workflows/tests-and-linters.yml
									
									
									
									
										vendored
									
									
								
							| 
						 | 
					@ -26,7 +26,12 @@ jobs:
 | 
				
			||||||
    env:
 | 
					    env:
 | 
				
			||||||
      DEPENDENCY_INJECTOR_DEBUG_MODE: 1
 | 
					      DEPENDENCY_INJECTOR_DEBUG_MODE: 1
 | 
				
			||||||
      COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
 | 
					      COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
 | 
				
			||||||
 | 
					      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
 | 
					      - name: Get the current branch name
 | 
				
			||||||
 | 
					        shell: bash
 | 
				
			||||||
 | 
					        run: echo "::set-output name=branch::${GITHUB_REF#refs/heads/}"
 | 
				
			||||||
 | 
					        id: branch-name
 | 
				
			||||||
      - uses: actions/checkout@v2
 | 
					      - uses: actions/checkout@v2
 | 
				
			||||||
      - uses: actions/setup-python@v2
 | 
					      - uses: actions/setup-python@v2
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
| 
						 | 
					@ -36,9 +41,7 @@ jobs:
 | 
				
			||||||
      - run: tox
 | 
					      - run: tox
 | 
				
			||||||
        env:
 | 
					        env:
 | 
				
			||||||
          TOXENV: coveralls
 | 
					          TOXENV: coveralls
 | 
				
			||||||
      - uses: coverallsapp/github-action@master
 | 
					          COVERALLS_GIT_BRANCH: ${{ steps.branch-name.outputs.branch }}
 | 
				
			||||||
        with:
 | 
					 | 
				
			||||||
          github-token: ${{ secrets.GITHUB_TOKEN }}
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
  linters:
 | 
					  linters:
 | 
				
			||||||
    name: Run linters
 | 
					    name: Run linters
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user