Skip to content

Commit

Permalink
Switch back to emulating circle-ci.
Browse files Browse the repository at this point in the history
  • Loading branch information
adiroiban committed Mar 30, 2021
1 parent 65641ac commit 2712310
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions azure-pipelines/run_test_steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,12 @@ steps:
condition: always()
continueOnError: true

# Coveralls has no support for Azure so we pretend to be CircleCI.
# See https://github.com/lemurheavy/coveralls-public/issues/1272
# We are using a 3rd part tools to upload to Coveralls
# See https://github.com/TheKevJames/coveralls-python
# It has no support for Azure so we pretend to be CircleCI so that
# we can differentiate from GitHub Actions.
# https://github.com/TheKevJames/coveralls-python/blob/04b6a2876e4e7ab2e8cf0778f88ce23f94679931/coveralls/api.py#L147
# https://github.com/TheKevJames/coveralls-python/blob/04b6a2876e4e7ab2e8cf0778f88ce23f94679931/coveralls/git.py#L31
- bash: |
export CI_BRANCH=$SYSTEM_PULLREQUEST_SOURCEBRANCH
export CI_PULL_REQUEST=$SYSTEM_PULLREQUEST_PULLREQUESTNUMBER
Expand All @@ -93,6 +97,6 @@ steps:
condition: always()
continueOnError: true
env:
CI_NAME: 'azure-pipelines'
CI_BUILD_NUMBER: $(Build.BuildNumber)
CIRCLE_WORKFLOW_ID: $(Build.BuildNumber)
CIRCLECI: 1
COVERALLS_REPO_TOKEN: 'JFDTIRUVOQ8jCM3zcajrZALlpKXyiXGAX'

0 comments on commit 2712310

Please sign in to comment.