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

CI exercise fails #37

Open
dsmits opened this issue Nov 6, 2024 · 0 comments
Open

CI exercise fails #37

dsmits opened this issue Nov 6, 2024 · 0 comments

Comments

@dsmits
Copy link

dsmits commented Nov 6, 2024

CI exercise fails because pytest cannot find any tests.

This is because the default github workflow runs pytest without any arguments. By default, pytest searches for files that start with test_. It won't find any because we have only asked the participants to create a file called example.py.

Either instruct the participants to create just a file test_example.py, or ask the participants to create two files (example.py and test_example.py).
The latter option requires the participants to import the add function into test_example.py, which can give some issues, so easiest it would be to just rename the original file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant