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

Test conversion for all plugins #52

Merged
merged 19 commits into from
Dec 12, 2021
Merged

Conversation

tlambert03
Copy link
Collaborator

@tlambert03 tlambert03 commented Dec 9, 2021

This is an experiment to see if we can determine how successful the conversion tool will be across all known plugins.

@codecov
Copy link

codecov bot commented Dec 9, 2021

Codecov Report

Merging #52 (f4a5323) into main (b02af16) will decrease coverage by 0.52%.
The diff coverage is 83.58%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #52      +/-   ##
==========================================
- Coverage   80.99%   80.47%   -0.53%     
==========================================
  Files          23       23              
  Lines        1142     1183      +41     
==========================================
+ Hits          925      952      +27     
- Misses        217      231      +14     
Impacted Files Coverage Δ
npe2/cli.py 45.61% <0.00%> (-0.82%) ⬇️
npe2/_from_npe1.py 89.82% <87.09%> (-2.70%) ⬇️
npe2/manifest/commands.py 77.77% <100.00%> (+1.30%) ⬆️
npe2/manifest/package_metadata.py 96.29% <0.00%> (-3.71%) ⬇️
npe2/manifest/schema.py 80.00% <0.00%> (-1.18%) ⬇️

Continue to review full report at Codecov.

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


# how do we deal with keywords ?
# do we try to validate ? Or do we just
# assume users won't try to create a command named
# `npe2_tester.False.if.for.in` ?
_dotted_name = f"(({_identifier}\\.)*{_identifier})"
_dotted_name = f"(({_identifier_plus_dash}\\.)*{_identifier_plus_dash})"
Copy link
Collaborator

Choose a reason for hiding this comment

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

i did this in a conflicting way in #51. the way you did it here looks better.

Copy link
Collaborator

@nclack nclack left a comment

Choose a reason for hiding this comment

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

very nice.

I approved, but I wish there a way to surface these checks separately from the required CI checks.

@tlambert03
Copy link
Collaborator Author

tlambert03 commented Dec 12, 2021

but I wish there a way to surface these checks separately from the required CI checks.

If you mean you'd like these not to run all the time on CI... absolutely. I had temporarily set the trigger to be "on push" so I could test it, but just made it to "workflow_dispatch" so it will only run on demand.

@tlambert03 tlambert03 merged commit 2f6be77 into napari:main Dec 12, 2021
@tlambert03 tlambert03 deleted the test-conversion branch December 12, 2021 14:38
@tlambert03 tlambert03 changed the title [WIP] Test conversion for all plugins Test conversion for all plugins Dec 12, 2021
@tlambert03
Copy link
Collaborator Author

need some stuff here, so merging. This workflow isn't "active" yet. just on manual trigger.

@tlambert03 tlambert03 added the tests related to testing or CI label Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests related to testing or CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants