test: fix coverage reports from codecov #1528
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bash uploader used for sending coverage reports to codecov currently is broken for azure pipelines.
This fixes missing pr in query sent to codecov by providing it as parameter
Codecov bash script https://codecov.io/bash
Pipelines docs https://docs.microsoft.com/en-us/azure/devops/pipelines/build/variables?view=azure-devops&tabs=yaml
Codecov link
https://codecov.io/gh/typescript-eslint/typescript-eslint/pull/1528/commits
Pipelines action
https://dev.azure.com/typescript-eslint/TypeScript%20ESLint/_build/results?buildId=3139&view=logs&jobId=18ce2c0c-8e5f-561b-2a1a-c5027ed6632f&j=18ce2c0c-8e5f-561b-2a1a-c5027ed6632f&t=477fddef-3d25-5c61-8626-53dac583e4f5
codecov/codecov-bash#189