dispatchrun / dispatch-py

Python package to develop applications with Dispatch.
https://pypi.org/project/dispatch-py/
Apache License 2.0
54 stars 3 forks source link

Don't test ./examples by default #144

Closed chriso closed 6 months ago

chriso commented 6 months ago

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.