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

Do not fail issue number test for all PRs with skip issue label #487

Merged
merged 1 commit into from
Oct 10, 2022
Merged

Do not fail issue number test for all PRs with skip issue label #487

merged 1 commit into from
Oct 10, 2022

Conversation

DanielNoord
Copy link
Contributor

Closes #468.

This check should be done before we get any other information.

I had to change some test data because they were "incomplete". I could also check for the label on the old lines 52-54, but then we would unnecessarily validate the issue number we found in the title. Thought it made more sense to do it like this.

@codecov
Copy link

codecov bot commented Jul 8, 2022

Codecov Report

Merging #487 (870e71c) into main (6aebdb4) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #487   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           18        18           
  Lines         1815      1849   +34     
  Branches       220       224    +4     
=========================================
+ Hits          1815      1849   +34     
Flag Coverage Δ
Python_3.10 100.00% <100.00%> (ø)
Python_3.11-dev 100.00% <100.00%> (ø)
Python_3.8 100.00% <100.00%> (ø)
Python_3.9 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
bedevere/gh_issue.py 100.00% <100.00%> (ø)
tests/test_gh_issue.py 100.00% <100.00%> (ø)

@vsajip
Copy link
Member

vsajip commented Oct 1, 2022

The change in gh_issue.py looks good to me - but I would need more time to get my head around the test code 🙁

@ezio-melotti ezio-melotti merged commit 71e7252 into python:main Oct 10, 2022
@DanielNoord DanielNoord deleted the issue branch October 10, 2022 19:28
@ezio-melotti
Copy link
Member

This seems to work: python/cpython#98163

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Fails issue number check even with skip-issue set
3 participants