ionelmc / cookiecutter-pylibrary

Enhanced cookiecutter template for Python libraries.
BSD 2-Clause "Simplified" License
1.25k stars 207 forks source link

Generating CI configuration step fails #232

Closed SterlingPeet closed 1 year ago

SterlingPeet commented 1 year ago

It looks like the github-actions.yml file is missing in the main template. When I copy the CI template into the cookiecutter template location, the template succeeds. The normal execution of the cookiecutter results in the following failure of the bootstrap step while generating CI configurations:

Project path: /Users/speet3/src/python-nameless
Traceback (most recent call last):
  File "/Users/speet3/src/python-nameless/ci/bootstrap.py", line 88, in <module>
    main()
  File "/Users/speet3/src/python-nameless/ci/bootstrap.py", line 79, in main
    with open(join(base_path, relative, name), "w") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/speet3/src/python-nameless/.github/workflows/github-actions.yml'
ERROR: InvocationError for command /Users/speet3/src/python-nameless/.tox/bootstrap/bin/python ci/bootstrap.py --no-env (exited with code 1)