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

Create CI tests workflow for the Python scripts in this repo #131

Open
anthonyfok opened this issue Aug 22, 2022 · 1 comment
Open

Create CI tests workflow for the Python scripts in this repo #131

anthonyfok opened this issue Aug 22, 2022 · 1 comment

Comments

@anthonyfok
Copy link
Member

anthonyfok commented Aug 22, 2022

Create quick CI tests for the Python scripts in this repo without having to do a full OpenDRR/opendrr-api stack build.

In the GitHub workflow that run these CI tests:

  • Test multiple versions of Python: 3.8, 3.9 and 3.10 for starters
  • Test on barebone GitHub runners with multiple OS versions: ubuntu-18.04, ubuntu-20.04, ubuntu-22.04
  • Test also within mulitple versions of OpenDRR/python-env Docker images based on debian:sid-20201012-slim, debian:bullseye-slim (Debian 11 stable releases), and on debian:sid-slim.

Motivations: To allow, for example:

@anthonyfok
Copy link
Member Author

See also https://realpython.com/python-testing/ which seems to be a really good introduction for me to introduce unittest etc. to model-factory Python scripts.

@anthonyfok anthonyfok modified the milestones: Sprint 64, Sprint 65 Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant