From 9b6260b3b295ac53f932c9ee0acc57dca37a82d5 Mon Sep 17 00:00:00 2001 From: Swen Wenzel Date: Fri, 22 Nov 2019 15:33:13 +0100 Subject: [PATCH] make sure coveralls reports correct branch name --- .github/workflows/testing.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index dba9f7ef..d6e690f1 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -1,5 +1,10 @@ name: Style, Unit And Integration Tests -on: push +on: + push: + branches: + - "*" + ignore-tags: + - "*" jobs: test-style: @@ -89,6 +94,7 @@ jobs: env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_TOKEN }} run: | + export BRANCH_NAME="${GITHUB_REF#refs/heads/}" poetry run coveralls - name: Output logs if: failure()