Skip to content

Add random suffix to coverage reports#33605

Merged
potiuk merged 2 commits intoapache:mainfrom
Taragolis:add-random-suffix-to-coverage-reports
Aug 22, 2023
Merged

Add random suffix to coverage reports#33605
potiuk merged 2 commits intoapache:mainfrom
Taragolis:add-random-suffix-to-coverage-reports

Conversation

@Taragolis
Copy link
Contributor

When we generate name of coverage.py output files we use only test type + backend, however for providers we run it multiple times, and we could overwrite test results, I guess that the reason why coverage dropped by around 10-15% in the very short period.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@Taragolis Taragolis force-pushed the add-random-suffix-to-coverage-reports branch 2 times, most recently from 56c8764 to d562e62 Compare August 22, 2023 09:15
@Taragolis Taragolis force-pushed the add-random-suffix-to-coverage-reports branch from d562e62 to 06c1f0d Compare August 22, 2023 13:11
PYTHON_MAJOR_MINOR_VERSION: "${{needs.build-info.outputs.default-python-version}}"
JOB_ID: "helm-tests"
COVERAGE: "${{needs.build-info.outputs.run-coverage}}"
COVERAGE: "false" # We do not need to run coverage on Helm tests
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We already have --no-cov option for Helm, this change just in case

@Taragolis Taragolis marked this pull request as ready for review August 22, 2023 13:17
@Taragolis Taragolis requested review from ashb and kaxil as code owners August 22, 2023 13:17
Copy link
Member

@potiuk potiuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very cool

@potiuk potiuk merged commit 2363fb5 into apache:main Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants