Visitar URL original
Make pytest ignore the `tools` directory by namurphy · Pull Request #2898 · PlasmaPy/PlasmaPy · GitHub
Skip to content

Make pytest ignore the tools directory - #2898

Merged
namurphy merged 3 commits into
PlasmaPy:mainfrom
namurphy:skip-tools-in-tests
Nov 1, 2024
Merged

namurphy merged 3 commits into
PlasmaPy:mainfrom
namurphy:skip-tools-in-tests

Conversation

@namurphy

@namurphy namurphy commented Nov 1, 2024

Copy link
Copy Markdown
Member

We've been getting an occasional test collection error in tools/export_ionization_energy.py. However, we don't have any tests in tools/ that we should run, so this PR makes pytest skip looking for tests in the tools/ directory.

@github-actions github-actions Bot added the packaging Related to packaging or distribution label Nov 1, 2024
@codecov

codecov Bot commented Nov 1, 2024 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.49%. Comparing base (76554c8) to head (13136e9).
Report is 31 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2898   +/-   ##
=======================================
  Coverage   94.49%   94.49%           
=======================================
  Files         108      108           
  Lines        9632     9632           
  Branches     1451     1451           
=======================================
  Hits         9102     9102           
  Misses        343      343           
  Partials      187      187           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@namurphy namurphy added the no changelog entry needed For PRs that should not have a changelog entry label Nov 1, 2024
@namurphy
namurphy marked this pull request as ready for review November 1, 2024 01:00
@namurphy
namurphy requested a review from a team as a code owner November 1, 2024 01:16
@namurphy
namurphy requested review from ejohnson-96 and removed request for a team November 1, 2024 01:16
@github-actions github-actions Bot added the python Pull requests that update Python code label Nov 1, 2024
@namurphy
namurphy removed the request for review from ejohnson-96 November 1, 2024 01:17
@namurphy
namurphy merged commit 1b84fbe into PlasmaPy:main Nov 1, 2024
@namurphy
namurphy deleted the skip-tools-in-tests branch November 1, 2024 17:17
@github-actions github-actions Bot removed the no changelog entry needed For PRs that should not have a changelog entry label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

packaging Related to packaging or distribution python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant