mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-11 02:33:55 +00:00
Merge pull request #2687 from xmatthias/try_covsxxx
Try to get comment from forked repos
This commit is contained in:
commit
5ba106d96b
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
|
@ -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: |
|
||||||
|
|
Loading…
Reference in New Issue
Block a user