summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--azure-pipelines.yml3
-rw-r--r--azure-run-tox-env.yml4
2 files changed, 2 insertions, 5 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 20b221ff..1bcc6d23 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -32,14 +32,12 @@ jobs:
- job: notify_build_start
pool: {vmImage: 'Ubuntu 16.04'}
steps:
- - script: echo start
- script: |
printenv && \
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter && \
chmod +x ./cc-test-reporter && \
./cc-test-reporter before-build -d
displayName: notify code climate of new build
- condition: eq(variables['system.pullrequest.isfork'], false)
- template: azure-run-tox-env.yml
parameters: {tox: fix_lint, python: 3.7}
@@ -80,7 +78,6 @@ jobs:
- job: report_coverage
pool: {vmImage: 'Ubuntu 16.04'}
- condition: eq(variables['system.pullrequest.isfork'], false)
dependsOn:
- windows_py37
- windows_py36
diff --git a/azure-run-tox-env.yml b/azure-run-tox-env.yml
index f31a673e..dd5cfe40 100644
--- a/azure-run-tox-env.yml
+++ b/azure-run-tox-env.yml
@@ -47,7 +47,7 @@ jobs:
- script: ${{ format('python -m tox -e {0}', parameters.tox) }}
displayName: run tests
- - ${{ if and( startsWith(parameters.tox, 'py'), eq(variables['system.pullrequest.isfork'], false) ) }}:
+ - ${{ if startsWith(parameters.tox, 'py') }}:
- task: PublishTestResults@2
displayName: publish test results via junit
condition: succeededOrFailed()
@@ -61,7 +61,7 @@ jobs:
displayName: create coverag report
condition: succeededOrFailed()
- - ${{ if and( startsWith(parameters.tox, 'py'), eq(variables['system.pullrequest.isfork'], false) ) }}:
+ - ${{ if startsWith(parameters.tox, 'py') }}:
- task: CopyFiles@2
displayName: move coverage files into staging area
condition: succeededOrFailed()