Add support for Google trusted publishing by di · Pull Request #15144 · pypi/warehouse (original) (raw)
FYI @woodruffw, in case you need to take over this on Monday: I generalized the PendingPublisher tests in a656cf8 and added parameters for the Google PendingPublisher in 0c49d87.
The same needs to be done for the tests that would exercise the view here, which currently has no coverage:
Name Stmts Miss Branch BrPart Cover Missing
--------------------------------------------------------------------------------
warehouse/manage/views/__init__.py 797 29 336 0 97% 1312-1413
--------------------------------------------------------------------------------
TOTAL 13543 29 4487 0 99%
We should also give some thought to how the docs will support multiple publishers, right now they assume GitHub. Maybe mkdocs has some sort of tabbed thing that would let us switch all the examples in the docs between different publishers? Haven't looked into it yet...