Merge pull request #2687 from xmatthias/try_covsxxx

Try to get comment from forked repos
This commit is contained in:
hroff-1902 2019-12-20 14:26:22 +03:00 committed by GitHub
commit 5ba106d96b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,19 +64,17 @@ jobs:
pip install -e . pip install -e .
- name: Tests - name: Tests
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
COVERALLS_SERVICE_NAME: travis-ci
TRAVIS: "true"
run: | run: |
pytest --random-order --cov=freqtrade --cov-config=.coveragerc pytest --random-order --cov=freqtrade --cov-config=.coveragerc
- name: Coveralls
if: startsWith(matrix.os, 'ubuntu')
env:
# Coveralls token. Not used as secret due to github not providing secrets to forked repositories
COVERALLS_REPO_TOKEN: 6D1m0xupS3FgutfuGao8keFf9Hc0FpIXu
run: |
# Allow failure for coveralls # Allow failure for coveralls
# Fake travis environment to get coveralls working correctly coveralls -v || true
export TRAVIS_PULL_REQUEST="https://github.com/${GITHUB_REPOSITORY}/pull/$(cat $GITHUB_EVENT_PATH | jq -r .number)"
export TRAVIS_BRANCH=${GITHUB_REF#"ref/heads"}
export CI_BRANCH=${GITHUB_REF#"ref/heads"}
echo "${TRAVIS_BRANCH}"
coveralls || true
- name: Backtesting - name: Backtesting
run: | run: |