Compare commits

...

12 Commits

Author SHA1 Message Date
Brad Warren
942e9e9436 ugly version 2023-01-31 19:03:36 -08:00
Brad Warren
06d2559e7c ... 2023-01-31 18:54:45 -08:00
Brad Warren
83fbdbd278 .0 ... 2023-01-31 18:51:55 -08:00
Brad Warren
a128fccb8c & variable 2023-01-31 18:37:38 -08:00
Brad Warren
01664204fa json it 2023-01-31 18:34:47 -08:00
Brad Warren
e0d8452c26 1 indexed? 2023-01-31 18:26:58 -08:00
Brad Warren
8c5675ac1f what does split return? 2023-01-31 18:21:25 -08:00
Brad Warren
55536771bd change coverage upload condition 2023-01-31 14:55:17 -08:00
Brad Warren
6e85dfb306 add comment 2023-01-26 11:17:02 -08:00
Brad Warren
b339e25ddf set uploadCoverage 2023-01-26 11:14:09 -08:00
Brad Warren
51f03a1449 fix typo 2023-01-26 10:58:30 -08:00
Brad Warren
d6bc96aee1 change coverage upload condition 2023-01-26 10:50:44 -08:00
3 changed files with 9 additions and 6 deletions

View File

@@ -6,5 +6,13 @@ pr:
- master
- '*.x'
variables:
# We set this here to avoid coverage data being uploaded from things like our
# nightly pipeline. This is done because codecov (helpfully) keeps track of
# the number of coverage uploads for a commit and displays a warning when
# comparing two commits with an unequal number of uploads. Only uploading
# coverage here should keep the number of uploads it sees consistent.
uploadCoverage: true
jobs:
- template: templates/jobs/standard-tests-jobs.yml

View File

@@ -11,7 +11,6 @@ jobs:
macos-cover:
IMAGE_NAME: macOS-12
TOXENV: cover
UPLOAD_COVERAGE: 1
windows-py37:
IMAGE_NAME: windows-2019
PYTHON_VERSION: 3.7
@@ -20,12 +19,10 @@ jobs:
IMAGE_NAME: windows-2019
PYTHON_VERSION: 3.9
TOXENV: cover-win
UPLOAD_COVERAGE: 1
windows-integration-certbot:
IMAGE_NAME: windows-2019
PYTHON_VERSION: 3.9
TOXENV: integration-certbot
UPLOAD_COVERAGE: 1
linux-oldest-tests-1:
IMAGE_NAME: ubuntu-22.04
PYTHON_VERSION: 3.7
@@ -41,7 +38,6 @@ jobs:
linux-cover:
IMAGE_NAME: ubuntu-22.04
TOXENV: cover
UPLOAD_COVERAGE: 1
linux-lint:
IMAGE_NAME: ubuntu-22.04
TOXENV: lint-posix
@@ -53,7 +49,6 @@ jobs:
PYTHON_VERSION: 3.8
TOXENV: integration
ACME_SERVER: pebble
UPLOAD_COVERAGE: 1
apache-compat:
IMAGE_NAME: ubuntu-22.04
TOXENV: apache_compat

View File

@@ -78,5 +78,5 @@ steps:
chmod +x codecov
coverage xml
./codecov || echo "Uploading coverage data failed"
condition: ne(variables['UPLOAD_COVERAGE'], '')
condition: and(eq(variables['uploadCoverage'], true), or(startsWith(variables['TOXENV'], 'cover'), startsWith(variables['TOXENV'], 'integration')))
displayName: Upload coverage data