Skip to content

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

Merged
ezio-melotti merged 1 commit into
python:mainfrom
DanielNoord:issue
Oct 10, 2022
Merged

Do not fail issue number test for all PRs with skip issue label#487
ezio-melotti merged 1 commit into
python:mainfrom
DanielNoord:issue

Conversation

@DanielNoord

Copy link
Copy Markdown
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

codecovBot commented Jul 8, 2022

Copy link
Copy Markdown

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 
FlagCoverage Δ
Python_3.10100.00% <100.00%> (ø)
Python_3.11-dev100.00% <100.00%> (ø)
Python_3.8100.00% <100.00%> (ø)
Python_3.9100.00% <100.00%> (ø)

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

Impacted FilesCoverage Δ
bedevere/gh_issue.py100.00% <100.00%> (ø)
tests/test_gh_issue.py100.00% <100.00%> (ø)

@vsajip

Copy link
Copy Markdown
Member

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:mainOct 10, 2022
@DanielNoord
DanielNoord deleted the issue branch October 10, 2022 19:28
@ezio-melotti

Copy link
Copy Markdown
Member

This seems to work: python/cpython#98163

Sign up for freeto 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

@DanielNoord@vsajip@ezio-melotti