Skip to content

Ramil-cyber/Ramil-Matrix-Build-Multiple-Python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI Pipeline

Testing Across Python Versions Using GitHub Actions

Project Summary

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.

Setup Guide

  1. Clone the repository to your local machine.
  2. Set up the container environment or run make install to install dependencies from requirements.txt.
  3. Update or modify files like main.py or test_main.py as needed.
  4. Push your changes, which will automatically trigger tests on different OS and Python configurations.

Code Style and Error Checking

  1. Ensure consistent code formatting by running make format.

Example of a formatting run:

Code Formatting Example

  1. Detect potential issues by running make lint.

Example of linting results:

Linting Example

  1. Run the test suite using make test.

Example of test execution:

Test Execution Example

Using a Matrix Strategy in GitHub Actions

Matrix Build Example

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 58.2%
  • Makefile 35.7%
  • Dockerfile 6.1%