@@ -13,6 +13,10 @@ def test_bake_project_no_cli_podman(cookies, bake_project_no_cli_podman_data):
13
13
assert not result .project_path .joinpath ("python_no_cli" , "example.py" ).is_file ()
14
14
assert result .project_path .joinpath ("containers" , "Containerfile" ).is_file ()
15
15
assert not result .project_path .joinpath ("containers" , "Dockerfile" ).is_file ()
16
+ assert result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi.yml" ).is_file ()
17
+ assert result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint.yml" ).is_file ()
18
+ assert not result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi-uv.yml" ).is_file ()
19
+ assert not result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint-uv.yml" ).is_file ()
16
20
17
21
18
22
def test_bake_project_uv_no_cli_podman (cookies , bake_project_uv_no_cli_podman_data ):
@@ -30,6 +34,10 @@ def test_bake_project_uv_no_cli_podman(cookies, bake_project_uv_no_cli_podman_da
30
34
assert not result .project_path .joinpath ("python_no_cli" , "example.py" ).is_file ()
31
35
assert result .project_path .joinpath ("containers" , "Containerfile" ).is_file ()
32
36
assert not result .project_path .joinpath ("containers" , "Dockerfile" ).is_file ()
37
+ assert not result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi.yml" ).is_file ()
38
+ assert not result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint.yml" ).is_file ()
39
+ assert result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi-uv.yml" ).is_file ()
40
+ assert result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint-uv.yml" ).is_file ()
33
41
34
42
35
43
def test_bake_project_no_cli_docker (cookies , bake_project_no_cli_docker_data ):
@@ -47,6 +55,10 @@ def test_bake_project_no_cli_docker(cookies, bake_project_no_cli_docker_data):
47
55
assert not result .project_path .joinpath ("python_no_cli" , "example.py" ).is_file ()
48
56
assert not result .project_path .joinpath ("containers" , "Containerfile" ).is_file ()
49
57
assert result .project_path .joinpath ("containers" , "Dockerfile" ).is_file ()
58
+ assert result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi.yml" ).is_file ()
59
+ assert result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint.yml" ).is_file ()
60
+ assert not result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi-uv.yml" ).is_file ()
61
+ assert not result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint-uv.yml" ).is_file ()
50
62
51
63
52
64
def test_bake_project_uv_no_cli_docker (cookies , bake_project_uv_no_cli_docker_data ):
@@ -64,6 +76,10 @@ def test_bake_project_uv_no_cli_docker(cookies, bake_project_uv_no_cli_docker_da
64
76
assert not result .project_path .joinpath ("python_no_cli" , "example.py" ).is_file ()
65
77
assert not result .project_path .joinpath ("containers" , "Containerfile" ).is_file ()
66
78
assert result .project_path .joinpath ("containers" , "Dockerfile" ).is_file ()
79
+ assert not result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi.yml" ).is_file ()
80
+ assert not result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint.yml" ).is_file ()
81
+ assert result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi-uv.yml" ).is_file ()
82
+ assert result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint-uv.yml" ).is_file ()
67
83
68
84
69
85
def test_bake_project_cli_podman (cookies , bake_project_cli_podman_data ):
@@ -81,6 +97,10 @@ def test_bake_project_cli_podman(cookies, bake_project_cli_podman_data):
81
97
assert result .project_path .joinpath ("python_with_cli" , "example.py" ).is_file ()
82
98
assert result .project_path .joinpath ("containers" , "Containerfile" ).is_file ()
83
99
assert not result .project_path .joinpath ("containers" , "Dockerfile" ).is_file ()
100
+ assert result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi.yml" ).is_file ()
101
+ assert result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint.yml" ).is_file ()
102
+ assert not result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi-uv.yml" ).is_file ()
103
+ assert not result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint-uv.yml" ).is_file ()
84
104
85
105
86
106
def test_bake_project_uv_cli_podman (cookies , bake_project_uv_cli_podman_data ):
@@ -98,6 +118,10 @@ def test_bake_project_uv_cli_podman(cookies, bake_project_uv_cli_podman_data):
98
118
assert result .project_path .joinpath ("python_with_cli" , "example.py" ).is_file ()
99
119
assert result .project_path .joinpath ("containers" , "Containerfile" ).is_file ()
100
120
assert not result .project_path .joinpath ("containers" , "Dockerfile" ).is_file ()
121
+ assert not result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi.yml" ).is_file ()
122
+ assert not result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint.yml" ).is_file ()
123
+ assert result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi-uv.yml" ).is_file ()
124
+ assert result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint-uv.yml" ).is_file ()
101
125
102
126
103
127
def test_bake_project_cli_docker (cookies , bake_project_cli_docker_data ):
@@ -115,6 +139,10 @@ def test_bake_project_cli_docker(cookies, bake_project_cli_docker_data):
115
139
assert result .project_path .joinpath ("python_with_cli" , "example.py" ).is_file ()
116
140
assert not result .project_path .joinpath ("containers" , "Containerfile" ).is_file ()
117
141
assert result .project_path .joinpath ("containers" , "Dockerfile" ).is_file ()
142
+ assert result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi.yml" ).is_file ()
143
+ assert result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint.yml" ).is_file ()
144
+ assert not result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi-uv.yml" ).is_file ()
145
+ assert not result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint-uv.yml" ).is_file ()
118
146
119
147
120
148
def test_bake_project_uv_cli_docker (cookies , bake_project_uv_cli_docker_data ):
@@ -132,3 +160,7 @@ def test_bake_project_uv_cli_docker(cookies, bake_project_uv_cli_docker_data):
132
160
assert result .project_path .joinpath ("python_with_cli" , "example.py" ).is_file ()
133
161
assert not result .project_path .joinpath ("containers" , "Containerfile" ).is_file ()
134
162
assert result .project_path .joinpath ("containers" , "Dockerfile" ).is_file ()
163
+ assert not result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi.yml" ).is_file ()
164
+ assert not result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint.yml" ).is_file ()
165
+ assert result .project_path .joinpath (".github" , "workflows" , "publish-to-pypi-uv.yml" ).is_file ()
166
+ assert result .project_path .joinpath (".github" , "workflows" , "test-coverage-lint-uv.yml" ).is_file ()
0 commit comments