Skip to content

Error: no files matched to [**/requirements.txt or **/pyproject.toml] #76

@nicoddemus

Description

@nicoddemus

Hi,

Recently I started seeing errors in a few repositories like this when using the action:

Error: No file in /home/runner/work/pytest-cpp/pytest-cpp matched to [**/requirements.txt or **/pyproject.toml], make sure you have checked out the target repository

AFAICT nothing has changed in the repositories significantly, in fact the errors appeared during pre-commit updates.

Is a requirement for projects to always have a pyproject.toml in the root now? Or something else?

Links to the failures (all of them are using the latest version, 1.5.3):

https://github.com/pytest-dev/pytest-cpp/actions/runs/6720286585/job/18263515881?pr=125
https://github.com/gabrielcnr/pytest-datadir/actions/runs/6697263629/job/18196747120?pr=72

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