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

bpo-42773: fix tests not being run on pushes #24004

Merged
merged 1 commit into from Dec 30, 2020
Merged

Conversation

@FFY00
Copy link
Contributor

@FFY00 FFY00 commented Dec 29, 2020

There was a typo, we were checking if the "GITHUB_BASE_REF" string
literal was empty instead of the $GITHUB_BASE_REF value. When
$GITHUB_BASE_REF is empty, the action that triggered the run was not a
pull request, so we always run the full test suite.

Signed-off-by: Filipe Laíns lains@riseup.net

https://bugs.python.org/issue42773

Automerge-Triggered-By: GH:Mariatta

Copy link
Member

@Mariatta Mariatta left a comment

Thanks for fixing. I think the news file is not needed though. Would you be able to remove it. I have already applied the "skip news" label.

There was a typo, we were checking if the "GITHUB_BASE_REF" string
literal was empty instead of the $GITHUB_BASE_REF value. When
$GITHUB_BASE_REF is empty, the action that triggered the run was not a
pull request, so we always run the full test suite.

Signed-off-by: Filipe Laíns <lains@riseup.net>
@FFY00 FFY00 force-pushed the FFY00:bpo-42773 branch from fd314e5 to f0d4699 Dec 30, 2020
@FFY00
Copy link
Contributor Author

@FFY00 FFY00 commented Dec 30, 2020

Done 😊

@miss-islington miss-islington merged commit 4ac923f into python:master Dec 30, 2020
10 checks passed
10 checks passed
Check for source changes
Details
Check if generated files are up to date
Details
Windows (x86)
Details
Windows (x64)
Details
macOS
Details
Ubuntu
Details
Azure Pipelines PR #20201230.12 succeeded
Details
Travis CI - Pull Request Build Passed
Details
bedevere/issue-number Issue number 42773 found
Details
bedevere/news "skip news" label found
@Mariatta
Copy link
Member

@Mariatta Mariatta commented Dec 30, 2020

Thanks!

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Dec 30, 2020

Thanks @FFY00 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒🤖

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Dec 30, 2020

Thanks @FFY00 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9.
🐍🍒🤖

@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented Dec 30, 2020

GH-24010 is a backport of this pull request to the 3.8 branch.

miss-islington added a commit to miss-islington/cpython that referenced this pull request Dec 30, 2020
There was a typo, we were checking if the "GITHUB_BASE_REF" string
literal was empty instead of the $GITHUB_BASE_REF value. When
$GITHUB_BASE_REF is empty, the action that triggered the run was not a
pull request, so we always run the full test suite.

Signed-off-by: Filipe Laíns <lains@riseup.net>
(cherry picked from commit 4ac923f)

Co-authored-by: Filipe Laíns <lains@riseup.net>
@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented Dec 30, 2020

GH-24011 is a backport of this pull request to the 3.9 branch.

miss-islington added a commit to miss-islington/cpython that referenced this pull request Dec 30, 2020
There was a typo, we were checking if the "GITHUB_BASE_REF" string
literal was empty instead of the $GITHUB_BASE_REF value. When
$GITHUB_BASE_REF is empty, the action that triggered the run was not a
pull request, so we always run the full test suite.

Signed-off-by: Filipe Laíns <lains@riseup.net>
(cherry picked from commit 4ac923f)

Co-authored-by: Filipe Laíns <lains@riseup.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.