Update coveralls job

This commit is contained in:
Roman Mogylatov 2021-01-26 20:16:13 -05:00
parent f02b4eccb3
commit 9dd841ebc8

View File

@ -27,10 +27,6 @@ jobs:
DEPENDENCY_INJECTOR_DEBUG_MODE: 1 DEPENDENCY_INJECTOR_DEBUG_MODE: 1
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_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:
@ -40,7 +36,9 @@ jobs:
- run: tox - run: tox
env: env:
TOXENV: coveralls TOXENV: coveralls
COVERALLS_GIT_BRANCH: ${{ steps.branch-name.outputs.branch }} - uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
linters: linters:
name: Run linters name: Run linters