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

Add CI Pipeline for automated testing #43

Closed
wants to merge 1 commit into from

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.
  • Install Package with pipx: Installs the package using pipx for isolated execution.
  • Execute Test Command with pipx: Runs the installed package to confirm that it behaves as expected.

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/mitm6/actions/runs/11530763057

@dirkjanm dirkjanm closed this Oct 26, 2024
@qu35t-code
Copy link
Author

Hey @dirkjanm,

Any particular reason to close this PR ?

@qu35t-code
Copy link
Author

Ok I saw your message on another PR.

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.

2 participants