@@ -15,6 +15,10 @@ def test_bake_project_api_only_podman(cookies, bake_project_api_only_podman):
15
15
assert not result .project_path .joinpath ("api_only" , "static" ).is_dir ()
16
16
assert not result .project_path .joinpath ("api_only" , "templates" ).is_dir ()
17
17
assert not result .project_path .joinpath ("api_only" , "routers" , "hello_world.py" ).is_file ()
18
+ assert result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi.yml" ).is_file ()
19
+ assert result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint.yml" ).is_file ()
20
+ assert not result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi-uv.yml" ).is_file ()
21
+ assert not result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint-uv.yml" ).is_file ()
18
22
19
23
20
24
def test_bake_project_uv_api_only_podman (cookies , bake_project_uv_api_only_podman ):
@@ -34,6 +38,10 @@ def test_bake_project_uv_api_only_podman(cookies, bake_project_uv_api_only_podma
34
38
assert not result .project_path .joinpath ("api_only" , "static" ).is_dir ()
35
39
assert not result .project_path .joinpath ("api_only" , "templates" ).is_dir ()
36
40
assert not result .project_path .joinpath ("api_only" , "routers" , "hello_world.py" ).is_file ()
41
+ assert not result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi.yml" ).is_file ()
42
+ assert not result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint.yml" ).is_file ()
43
+ assert result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi-uv.yml" ).is_file ()
44
+ assert result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint-uv.yml" ).is_file ()
37
45
38
46
39
47
def test_bake_project_api_only_docker (cookies , bake_project_api_only_docker ):
@@ -53,6 +61,10 @@ def test_bake_project_api_only_docker(cookies, bake_project_api_only_docker):
53
61
assert not result .project_path .joinpath ("api_only" , "static" ).is_dir ()
54
62
assert not result .project_path .joinpath ("api_only" , "templates" ).is_dir ()
55
63
assert not result .project_path .joinpath ("api_only" , "routers" , "hello_world.py" ).is_file ()
64
+ assert result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi.yml" ).is_file ()
65
+ assert result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint.yml" ).is_file ()
66
+ assert not result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi-uv.yml" ).is_file ()
67
+ assert not result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint-uv.yml" ).is_file ()
56
68
57
69
58
70
def test_bake_project_uv_api_only_docker (cookies , bake_project_uv_api_only_docker ):
@@ -72,6 +84,10 @@ def test_bake_project_uv_api_only_docker(cookies, bake_project_uv_api_only_docke
72
84
assert not result .project_path .joinpath ("api_only" , "static" ).is_dir ()
73
85
assert not result .project_path .joinpath ("api_only" , "templates" ).is_dir ()
74
86
assert not result .project_path .joinpath ("api_only" , "routers" , "hello_world.py" ).is_file ()
87
+ assert not result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi.yml" ).is_file ()
88
+ assert not result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint.yml" ).is_file ()
89
+ assert result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi-uv.yml" ).is_file ()
90
+ assert result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint-uv.yml" ).is_file ()
75
91
76
92
77
93
def test_bake_project_api_with_webpages_podman (cookies , bake_project_api_with_webpages_podman ):
@@ -91,6 +107,10 @@ def test_bake_project_api_with_webpages_podman(cookies, bake_project_api_with_we
91
107
assert result .project_path .joinpath ("api_with_webpages" , "static" ).is_dir ()
92
108
assert result .project_path .joinpath ("api_with_webpages" , "templates" ).is_dir ()
93
109
assert result .project_path .joinpath ("api_with_webpages" , "routers" , "hello_world.py" ).is_file ()
110
+ assert result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi.yml" ).is_file ()
111
+ assert result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint.yml" ).is_file ()
112
+ assert not result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi-uv.yml" ).is_file ()
113
+ assert not result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint-uv.yml" ).is_file ()
94
114
95
115
96
116
def test_bake_project_uv_api_with_webpages_podman (cookies , bake_project_uv_api_with_webpages_podman ):
@@ -110,6 +130,10 @@ def test_bake_project_uv_api_with_webpages_podman(cookies, bake_project_uv_api_w
110
130
assert result .project_path .joinpath ("api_with_webpages" , "static" ).is_dir ()
111
131
assert result .project_path .joinpath ("api_with_webpages" , "templates" ).is_dir ()
112
132
assert result .project_path .joinpath ("api_with_webpages" , "routers" , "hello_world.py" ).is_file ()
133
+ assert not result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi.yml" ).is_file ()
134
+ assert not result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint.yml" ).is_file ()
135
+ assert result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi-uv.yml" ).is_file ()
136
+ assert result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint-uv.yml" ).is_file ()
113
137
114
138
115
139
def test_bake_project_api_with_webpages_docker (cookies , bake_project_api_with_webpages_docker ):
@@ -129,6 +153,10 @@ def test_bake_project_api_with_webpages_docker(cookies, bake_project_api_with_we
129
153
assert result .project_path .joinpath ("api_with_webpages" , "static" ).is_dir ()
130
154
assert result .project_path .joinpath ("api_with_webpages" , "templates" ).is_dir ()
131
155
assert result .project_path .joinpath ("api_with_webpages" , "routers" , "hello_world.py" ).is_file ()
156
+ assert result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi.yml" ).is_file ()
157
+ assert result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint.yml" ).is_file ()
158
+ assert not result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi-uv.yml" ).is_file ()
159
+ assert not result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint-uv.yml" ).is_file ()
132
160
133
161
134
162
def test_bake_project_uv_api_with_webpages_docker (cookies , bake_project_uv_api_with_webpages_docker ):
@@ -148,3 +176,7 @@ def test_bake_project_uv_api_with_webpages_docker(cookies, bake_project_uv_api_w
148
176
assert result .project_path .joinpath ("api_with_webpages" , "static" ).is_dir ()
149
177
assert result .project_path .joinpath ("api_with_webpages" , "templates" ).is_dir ()
150
178
assert result .project_path .joinpath ("api_with_webpages" , "routers" , "hello_world.py" ).is_file ()
179
+ assert not result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi.yml" ).is_file ()
180
+ assert not result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint.yml" ).is_file ()
181
+ assert result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi-uv.yml" ).is_file ()
182
+ assert result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint-uv.yml" ).is_file ()
0 commit comments