File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 "commit" : " 45a5e60428dab6cb6f6382505d8591a050f1a7ba" ,
44 "context" : {
55 "cookiecutter" : {
6- "project_name" : " Cookiecutter template for new Python projects " ,
6+ "project_name" : " cookie-python " ,
77 "project_slug" : " cookie_python" ,
8- "project_description" : " A template for new Python projects" ,
8+ "project_description" : " Cookiecutter template for new Python projects" ,
99 "project_license" : " MIT" ,
1010 "enable_coverage" : " yes" ,
1111 "enable_pypi_publish" : " no" ,
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Release
33
44env :
55 ENABLE_PYPI_PUBLISH : true
6- ENABLE_TEST_PYPI_PUBLISH : true
6+ ENABLE_TEST_PYPI_PUBLISH : false
77 RELEASE_PYTHON_VERSION : " 3.12"
88 RELEASE_POETRY_VERSION : " 2.0"
99
2020 runs-on : ubuntu-latest
2121 environment :
2222 name : pypi
23- url : https://pypi.org/p/Cookiecutter template for new Python projects
23+ url : https://pypi.org/p/cookie-python
2424 permissions :
2525 id-token : write
2626
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44
55[project ]
66name = " cookie-python"
7- description = " "
7+ description = " Cookiecutter template for new Python projects "
88license = " MIT"
99authors = [ { name = " Stephen Kent" , email = " smkent@smkent.net" } ]
1010readme = " README.md"
Original file line number Diff line number Diff line change @@ -133,6 +133,10 @@ def test_rendered_project(
133133 assert ci_data ["env" ]["ENABLE_COVERAGE" ] == enable_coverage
134134 assert cd_data ["env" ]["ENABLE_PYPI_PUBLISH" ] == enable_pypi_publish
135135 assert cd_data ["env" ]["ENABLE_TEST_PYPI_PUBLISH" ] is False
136+ assert cd_data ["jobs" ]["Publish" ]["environment" ] == {
137+ "name" : "pypi" ,
138+ "url" : "https://pypi.org/p/test-baked-cookie" ,
139+ }
136140
137141 assert not (
138142 subprocess .check_output (
You can’t perform that action at this time.
0 commit comments