FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

WIP: PR created to test https://github.com/python/cpython/pull/19983 by vstinner · Pull Request #20096 · python/cpython · GitHub

Repository navigation

WIP: PR created to test https://github.com/python/cpython/pull/19983 - #20096

Closed
vstinner wants to merge 1 commit into
python:masterfrom
vstinner:test_doc_change
Closed

vstinner wants to merge 1 commit into
python:masterfrom
vstinner:test_doc_change

Conversation

Copy link
Copy Markdown
Member

No description provided.

FFY00 commented May 14, 2020

Copy link
Copy Markdown
Member

We can add an || true in the end so that github doesn't show the workflow as failed.

Copy link
Copy Markdown
Member Author

We can add an || true in the end so that github doesn't show the workflow as failed.

@FFY00: Yeah, exactly. I just came up with the same idea :-) It would look better than "Some checks were not successful". Can you propose a PR to fix it?

FFY00 commented May 15, 2020

Copy link
Copy Markdown
Member

Yes, I will do it in a bit. I'll ping you after to rebase this on top of it.

Copy link
Copy Markdown
Member Author

By the way, usually I wrote ||: rather than || true. It's an old habit. It's a bash builtin function. I don't know if it's portable. || true sounds more portable :-)

FFY00 commented May 15, 2020

Copy link
Copy Markdown
Member

From what I gathered I think both : and true are bash builtins. But true is also a POSIX binary (see /usr/bin/true). || true is also more descriptive and doesn't require people to google what : is supposed to do :D

Copy link
Copy Markdown
Member

Copy link
Copy Markdown
Member Author

PR rebased on top of commit 6a78589 (GH-20097).

Copy link
Copy Markdown
Member

12 seconds, looks good 👌

Copy link
Copy Markdown
Member Author

Good: "Tests / Check for source changes (pull_request)" is no longer marked as failed, but "build" jobs continue to be skipped! Sadly, the reason for the skip is not mentioned :-( But it's ok, it's not a big deal. Most people are likely to not bother with it :-)
https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idif

FFY00 commented May 15, 2020

Copy link
Copy Markdown
Member

Yes, it would be good to be able to provide a reason but I don't really think it's that big of a deal :P As long as the devs are aware of this it should be perfectly fine.

vstinner marked this pull request as ready for review May 15, 2020 02:24

Copy link
Copy Markdown
Member Author

Ok, great! I confirm that I get a green merge button: I could merge the PR, even with skipped build jobs. Thanks again @FFY00 for fixing our CI config ;-)

I now close the issue since it proved that it works. (It doesn't prevent to merge a doc-only PR.)

vstinner closed this May 15, 2020
vstinner deleted the test_doc_change branch May 15, 2020 02:30
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL