From 2d3cdc01d230af7ff1ab8036e087b600538a12ca Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Tue, 26 Jan 2021 20:22:07 -0500 Subject: [PATCH] Experiment with coveralls --- .github/workflows/tests-and-linters.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests-and-linters.yml b/.github/workflows/tests-and-linters.yml index 83acc7b1..258bec19 100644 --- a/.github/workflows/tests-and-linters.yml +++ b/.github/workflows/tests-and-linters.yml @@ -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