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

Don't test ./examples by default #144

Merged
merged 2 commits into from
Mar 27, 2024
Merged

Don't test ./examples by default #144

merged 2 commits into from
Mar 27, 2024

Conversation

chriso
Copy link
Contributor

@chriso chriso commented Mar 27, 2024

Running make test checks types with mypy, then runs tests found in the ./tests directory. At the moment we symlink ./examples as ./test/examples so that we test the examples when running make test.

Given that our build matrix is growing (#136, #140, #143), we may run into a situation where the examples hit rate limits when run for each Python version, causing CI to fail. For this reason, I've removed the symlink so that we don't test examples by default.

I've added a new make command that tests the examples. We can run this locally as necessary. To ensure we at least have some coverage, I've added a single CI run that will test the examples using Python 3.12 only.

@chriso chriso self-assigned this Mar 27, 2024
@chriso chriso merged commit 4463c21 into main Mar 27, 2024
6 checks passed
@chriso chriso deleted the examplestest branch March 27, 2024 23:59
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