Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make test fails all tests with InvalidConfiguration('Unable to parse YAML file ...") #113

Open
mikeweltevrede opened this issue Jul 2, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@mikeweltevrede
Copy link
Contributor

Describe the bug

When cloning the project locally, following the setup steps, and running make tests, all tests fail with

E  AssertionError: assert -1 == 0
E   +  where -1 = <Result InvalidConfiguration('Unable to parse YAML file C:\\Users\\xxx\\AppData\\Local\\Temp\\pytest-of-xxx\\pytest-3\\user_dir0\\config.')>.exit_code

To Reproduce

Steps to reproduce the behavior:

  1. Follow the steps (except for pyenv) in https://github.com/fpgmaas/cookiecutter-poetry/blob/main/CONTRIBUTING.md up to step 8.
  2. Run make test (step 9).

Expected behavior

Running and successful unit tests.

System [please complete the following information]:

  • OS: Windows 11
  • Language Version: Python 3.12.0
  • Virtual environment: Poetry 1.7.1

Additional context

Perhaps this is a Windows issue?

@mikeweltevrede mikeweltevrede added the bug Something isn't working label Jul 2, 2024
@szvsw
Copy link
Contributor

szvsw commented Sep 26, 2024

It's likely a windows issue. I get the same error on my local machine but not when the job runs in CI/CD

@synacktraa
Copy link

synacktraa commented Oct 3, 2024

Install act and run the github workflow locally. Link to the repo: https://github.com/nektos/act.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants