This project leverages GitHub Actions to test compatibility across various Python versions. By utilizing the setup-python
action and a matrix strategy, multiple jobs are executed under different configurations. The script main.py
plays a key role in identifying the operating system and Python version for each job.
- Clone the repository to your local machine.
- Set up the container environment or run
make install
to install dependencies fromrequirements.txt
. - Update or modify files like
main.py
ortest_main.py
as needed. - Push your changes, which will automatically trigger tests on different OS and Python configurations.
- Ensure consistent code formatting by running
make format
.
Example of a formatting run:
- Detect potential issues by running
make lint
.
Example of linting results:
- Run the test suite using
make test
.
Example of test execution: