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 #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
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/aclpwn.py/actions/runs/11530783731

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