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

Pair pytest with GitHub actions #38

Closed
wants to merge 5 commits into from
Closed

Conversation

astronasko
Copy link
Contributor

If you see fit, it would be useful to automatically test each push to the main branch through something like actions/checkout. This PR adds the action config file and runs pytest on each push to main.

I tried to run pytest locally, but I got some errors that led me to think that some pytests are perhaps too dated. I hope such integration is still relevant for your case.

@Kamuish
Copy link
Member

Kamuish commented Jun 5, 2024

Hi,

As you said, the tests are (unfortunately) old and most-likely are using functions from the old API. That said, the current lot of tests is quite underwhelming and barely does a thing. I have been thinking about at least adding one test to ensure that a new update didn't break any functionality (see #17 ).

For now I will leave the PR open and accept after I write some tests that actually test something :)

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.

2 participants