mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Merge pull request #2536 from freqtrade/coveralls_actions
Try moving coveralls to github actions
This commit is contained in:
commit
bcb5913291
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -64,9 +64,15 @@ 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
|
||||||
# Allow failure for coveralls
|
# 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
|
coveralls || true
|
||||||
|
|
||||||
- name: Backtesting
|
- name: Backtesting
|
||||||
|
|
|
@ -24,7 +24,7 @@ jobs:
|
||||||
script:
|
script:
|
||||||
- pytest --random-order --cov=freqtrade --cov-config=.coveragerc
|
- pytest --random-order --cov=freqtrade --cov-config=.coveragerc
|
||||||
# Allow failure for coveralls
|
# Allow failure for coveralls
|
||||||
- coveralls || true
|
# - coveralls || true
|
||||||
name: pytest
|
name: pytest
|
||||||
- script:
|
- script:
|
||||||
- cp config.json.example config.json
|
- cp config.json.example config.json
|
||||||
|
|
Loading…
Reference in New Issue
Block a user