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

Run Pytest when pushing to main OR pull request is created #9

Merged
merged 4 commits into from
Aug 4, 2023

Conversation

chanomkaimuk
Copy link
Contributor

The tests are in the tests folder, and the configuration file (mainly for dealing with paths) is pytest.ini, which basically imports ./commands/ so you can just import commands in the test files.

You can also run the tests yourself by running python -m pytest tests/ -v -s in the project directory.

Anyway, there aren't that many tests yet, so we should change that soon.

@chanomkaimuk chanomkaimuk merged commit fa9fdc3 into main Aug 4, 2023
1 check passed
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

Successfully merging this pull request may close these issues.

1 participant