From be53c0885df7ad29a6202502c47894c8ae3117c8 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 16 Nov 2019 10:49:32 +0100 Subject: [PATCH] Try moving coveralls to github actions --- .github/workflows/ci.yml | 6 ++++++ .travis.yml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 04e52c0fd..12aff89f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,9 +64,15 @@ jobs: pip install -e . - name: Tests + env: + COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} + COVERALLS_SERVICE_NAME: travis-ci + TRAVIS: "true" run: | pytest --random-order --cov=freqtrade --cov-config=.coveragerc # Allow failure for coveralls + # Fake travis environment to get coveralls working correctly + export TRAVIS_PULL_REQUEST="https://github.com/${GITHUB_REPOSITORY}/pull/$(cat $GITHUB_EVENT_PATH | jq -r .number)" coveralls || true - name: Backtesting diff --git a/.travis.yml b/.travis.yml index 80e4080d3..6073e1cce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,7 +24,7 @@ jobs: script: - pytest --random-order --cov=freqtrade --cov-config=.coveragerc # Allow failure for coveralls - - coveralls || true + # - coveralls || true name: pytest - script: - cp config.json.example config.json