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

Fix nf-core subworkflows test #2181

Merged
merged 8 commits into from Feb 9, 2023
Merged

Conversation

mirpedrol
Copy link
Member

@mirpedrol mirpedrol commented Feb 9, 2023

Fix nf-core subworkflows test by adding the prefix "subworkflows/" to the pytest tag.
Merge after the GHA bug fix in #2177
Close #2180

PR checklist

  • This comment contains a description of changes (with reason)
  • CHANGELOG.md is updated
  • If you've fixed a bug or added code that should be tested, add tests!
  • Documentation in docs is updated

@codecov
Copy link

codecov bot commented Feb 9, 2023

Codecov Report

Merging #2181 (2250919) into dev (b728841) will increase coverage by 0.01%.
The diff coverage is 72.41%.

@@            Coverage Diff             @@
##              dev    #2181      +/-   ##
==========================================
+ Coverage   71.51%   71.53%   +0.01%     
==========================================
  Files          77       77              
  Lines        8338     8350      +12     
==========================================
+ Hits         5963     5973      +10     
- Misses       2375     2377       +2     
Impacted Files Coverage Δ
nf_core/components/components_test.py 56.09% <0.00%> (-2.14%) ⬇️
nf_core/components/update.py 81.73% <77.77%> (+0.21%) ⬆️
nf_core/components/install.py 86.95% <100.00%> (ø)
nf_core/modules/modules_repo.py 83.64% <100.00%> (+0.15%) ⬆️
nf_core/modules/modules_json.py 80.26% <0.00%> (+0.03%) ⬆️
nf_core/components/list.py 68.83% <0.00%> (+0.41%) ⬆️
nf_core/sync.py 75.10% <0.00%> (+0.42%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

except LookupError as e:
# If the module to be updated is not available, check if there has been a name change
if "not found in list of available" in str(e):
# Skip update, we check for name changes with manage_changes_in_linked_components in line #261
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# Skip update, we check for name changes with manage_changes_in_linked_components in line #261
# Skip update, we check for name changes with manage_changes_in_linked_components

I am afraid that line number reference will be outdated soon, so just referencing the method should be good enough

Copy link
Member Author

Choose a reason for hiding this comment

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

I will change it in #2177 and merge that one as you reviewed here already 😄

@mirpedrol mirpedrol merged commit cce48fa into nf-core:dev Feb 9, 2023
@mirpedrol mirpedrol deleted the subworkflows-test branch February 9, 2023 12:41
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.

nf-core subworkflows test command only picks up a single test
2 participants