Skip to content

Add CI tests for the template itself #1

@WithPrecedent

Description

@WithPrecedent

Is your feature request related to a problem? Please describe.

It's not obvious how to run tests on the template itself using GitHub Actions and PDM. The problem stems from where PDM looks for tests and the package to be tested. A cookiecutter template is not structured in the same way as a typical package.

Describe the solution you'd like

I think the solution lies in using this package or some of its code: https://github.com/hackebrot/pytest-cookies

Describe alternatives you've considered

It's possible that this could be done in the PDM framework, but I haven't figured out how because a cookiecutter template is neither in the "flat" or "src" package structure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions