Skip to content

Add CI Pipeline for automated testing#21

Open
qu35t-code wants to merge 2 commits intotopotam:mainfrom
qu35t-code:main
Open

Add CI Pipeline for automated testing#21
qu35t-code wants to merge 2 commits intotopotam:mainfrom
qu35t-code:main

Conversation

@qu35t-code
Copy link

@qu35t-code qu35t-code commented Oct 26, 2024

Description

This update introduces a Continuous Integration (CI) pipeline using GitHub Actions, providing automated testing and package installation for the repository. The new workflow triggers on pushes and pull requests to the main branch, ensuring that code changes are tested consistently.

The pipeline includes several steps :

  • Checkout Code: Clones the repository to access the source code.
  • Set Up Python: Configures Python 3.13 as the runtime environment.
  • Install Dependencies from Source: Upgrades pip and installs the required dependencies listed in requirements.txt.
  • Execute Test Command from Source: Runs the script and checks its usage output to validate functionality.

This CI setup enhances the project's reliability by automating testing and verifying that installations work as intended, making it easier to maintain code quality and catch issues early in the development process.

Here is a test example : https://github.com/QU35T-code/PetitPotam/actions/runs/11534240980

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.

1 participant