Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coverage reports for Codacy #701

Merged
merged 10 commits into from
May 19, 2023
Merged

Coverage reports for Codacy #701

merged 10 commits into from
May 19, 2023

Conversation

mathisrichter
Copy link
Contributor

Issue Number:

Objective of pull request: With this PR, coverage reports are generated on every push and sent to Codacy for analysis.

Pull request checklist

Your PR fulfills the following requirements:

  • Issue created that explains the change and why it's needed
  • Tests are part of the PR (for bug fixes / features)
  • Docs reviewed and added / updated if needed (for bug fixes / features)
  • PR conforms to Coding Conventions
  • PR applys BSD 3-clause or LGPL2.1+ Licenses to all code files
  • Lint (flakeheaven lint src/lava tests/) and (bandit -r src/lava/.) pass locally
  • Build tests (pytest) passes locally

Pull request type

Please check your PR type:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation changes
  • Other (please describe):

What is the current behavior?

What is the new behavior?

Does this introduce a breaking change?

  • Yes
  • No

Supplemental information

@mathisrichter mathisrichter self-assigned this May 19, 2023
@mgkwill mgkwill merged commit fd6b7f5 into main May 19, 2023
monkin77 pushed a commit to monkin77/thesis-lava that referenced this pull request Jul 12, 2024
* Running unit tests with coverage and generating an XML coverage report.

Signed-off-by: Mathis Richter <[email protected]>

* Adding Github action to upload coverage report to Codacy.

Signed-off-by: Mathis Richter <[email protected]>

* Updated checkout action

Signed-off-by: Mathis Richter <[email protected]>

* Archiving coverage report as artifact

Signed-off-by: Mathis Richter <[email protected]>

* Dependency on unit tests and download of coverage report artifact.

Signed-off-by: Mathis Richter <[email protected]>

* Replaced download-artifact@master with @V3

Signed-off-by: Mathis Richter <[email protected]>

* Dependency on completed 'Run CI' workflow.

Signed-off-by: Mathis Richter <[email protected]>

* Add   workflow_dispatch to codacy coverage job

* Generating coverage report only for Linux.

Signed-off-by: Mathis Richter <[email protected]>

---------

Signed-off-by: Mathis Richter <[email protected]>
Co-authored-by: Marcus G K Williams <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants