ionelmc / cookiecutter-pylibrary

Enhanced cookiecutter template for Python libraries.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generating CI configuration step fails

SterlingPeet opened this issue · comments

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)