Merge pull request #2536 from freqtrade/coveralls_actions

Try moving coveralls to github actions
This commit is contained in:
hroff-1902 2019-11-16 23:05:05 +03:00 committed by GitHub
commit bcb5913291
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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