From 34b7541a0c3c811d4c3b589979576a8df21f63a9 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 26 Nov 2019 15:22:17 +0100 Subject: [PATCH] Split coveralls into it's own buildstep --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2fe7dfc7f..bf6c1d9ee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,12 +64,16 @@ jobs: pip install -e . - name: Tests + run: | + pytest --random-order --cov=freqtrade --cov-config=.coveragerc + + - name: coveralls + if: startsWith(matrix.os, 'ubuntu') env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} COVERALLS_SERVICE_NAME: travis-ci JENKINS_HOME: "true" run: | - pytest --random-order --cov=freqtrade --cov-config=.coveragerc # Allow failure for coveralls # Fake travis environment to get coveralls working correctly # export CI_PULL_REQUEST="https://github.com/${GITHUB_REPOSITORY}/pull/$(cat $GITHUB_EVENT_PATH | jq -r .number)"