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

Update usage to reflect the recent addition of the pytest plugin #128

Merged
merged 1 commit into from
Apr 27, 2023

Conversation

tomhamiltonstubber
Copy link
Contributor

@tomhamiltonstubber tomhamiltonstubber commented Apr 13, 2023

Not sure if you want to add more docs about the plugin

@codecov
Copy link

codecov bot commented Apr 13, 2023

Codecov Report

Merging #128 (22faa35) into main (b6a9819) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #128   +/-   ##
=======================================
  Coverage   96.27%   96.27%           
=======================================
  Files           8        8           
  Lines         725      725           
  Branches      110      110           
=======================================
  Hits          698      698           
  Misses         21       21           
  Partials        6        6           

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b6a9819...22faa35. Read the comment docs.

import sys
# we don't install here for pytest as it breaks pytest, it is
# installed later by a pytest fixture
if not sys.argv[0].endswith('pytest'):
Copy link

Choose a reason for hiding this comment

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

Command name might also be py.test

It's an old name and hence unlikely, but is still included when installing pytest so can be used.

Copy link
Owner

Choose a reason for hiding this comment

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

This copies from the script we auto-install, I think this is a good start.

@samuelcolvin samuelcolvin merged commit 88e0206 into samuelcolvin:main Apr 27, 2023
@samuelcolvin
Copy link
Owner

Thanks so much.

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.

3 participants