Skip to content

Commit f4955b3

Browse files
committed
Add tests
1 parent 6112bf4 commit f4955b3

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

tests/test_generation.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ def test_project_structure(generate_project):
2727
"pyproject.toml",
2828
"Makefile",
2929
"LICENSE",
30-
"Dockerfile",
3130
"CONTRIBUTING.rst",
3231
"CHANGELOG",
3332
"AUTHORS.rst",
@@ -97,7 +96,7 @@ def test_license(generate_project):
9796

9897
def test_Dockerfile(generate_project):
9998
"""Check the Dockerfile is correctly generated."""
100-
readme_path = os.path.join(generate_project, "testproject", "Dockerfile")
99+
readme_path = os.path.join(generate_project, "testproject", "docker", "Dockerfile")
101100

102101
with open(readme_path, 'r') as readme_file:
103102
content = readme_file.read()

{{cookiecutter.project_slug}}/.github/workflows/test-and-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ jobs:
3737
uses: peaceiris/actions-gh-pages@v3
3838
if: github.ref == 'refs/heads/main'
3939
with:
40-
github_token: <TODO: MY_GITHUB_token>
40+
github_token: ${{ '{{ secrets.GITHUB_TOKEN }}' }}
4141
publish_dir: docs/build/html/

0 commit comments

Comments
 (0)