catalyst icon indicating copy to clipboard operation
catalyst copied to clipboard

[build-system][tests] Add unittests for MLIR libraries

Open erick-xanadu opened this issue 1 year ago • 4 comments
trafficstars

Context: Sometimes we might need to develop our own library in MLIR which is not suitable for testing via passes.

Description of the Change: Add support for adding unittests for MLIR libraries.

Benefits: Tests.

erick-xanadu avatar Sep 05 '24 19:09 erick-xanadu

Hello. You may have forgotten to update the changelog! Please edit doc/releases/changelog-dev.md on your branch with:

  • A one-to-two sentence description of the change. You may include a small working example for new features.
  • A link back to this PR.
  • Your name (or GitHub username) in the contributors section.

github-actions[bot] avatar Sep 05 '24 19:09 github-actions[bot]

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.82%. Comparing base (340c35e) to head (28de871). Report is 191 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1105   +/-   ##
=======================================
  Coverage   95.82%   95.82%           
=======================================
  Files          80       80           
  Lines        8487     8487           
  Branches      781      781           
=======================================
  Hits         8133     8133           
  Misses        297      297           
  Partials       57       57           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Sep 05 '24 22:09 codecov[bot]

Is it possible for CodeFactor to ignore lit.cfg.py?

erick-xanadu avatar Sep 12 '24 18:09 erick-xanadu

Is it possible for CodeFactor to ignore lit.cfg.py?

Codefactor is a service that runs a collection of linting and code-quality tools. If you are talking about pylint you should be able to exclude files in the .pylintrc file :)

dime10 avatar Sep 12 '24 18:09 dime10