Experiment with coveralls

This commit is contained in:
Roman Mogylatov 2021-01-26 20:22:07 -05:00
parent 9dd841ebc8
commit 2d3cdc01d2

View File

@ -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