mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-02-06 14:40:48 +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:
|
||||
DEPENDENCY_INJECTOR_DEBUG_MODE: 1
|
||||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
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/setup-python@v2
|
||||
with:
|
||||
|
@ -36,9 +41,7 @@ jobs:
|
|||
- run: tox
|
||||
env:
|
||||
TOXENV: coveralls
|
||||
- uses: coverallsapp/github-action@master
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
COVERALLS_GIT_BRANCH: ${{ steps.branch-name.outputs.branch }}
|
||||
|
||||
linters:
|
||||
name: Run linters
|
||||
|
|
Loading…
Reference in New Issue
Block a user