chore: add GitHub Actions CI workflow for linting, tests, and securit…#351
Open
Viraj0711 wants to merge 1 commit into
Open
chore: add GitHub Actions CI workflow for linting, tests, and securit…#351Viraj0711 wants to merge 1 commit into
Viraj0711 wants to merge 1 commit into
Conversation
|
@Viraj0711 is attempting to deploy a commit to the komalsony234-1530's projects Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a comprehensive GitHub Actions CI workflow that automatically runs linting, unit tests across multiple Python versions, and security audits on every push and pull request. The workflow ensures code quality, catches regressions early, and prevents merges that fail tests or fail linting checks.
This PR resolves issue #349
Related Issue
Closes #[pending] — Add GitHub Actions workflow to run tests and linters on push and pull requests
Note: Create an issue on GitHub with title "Add GitHub Actions workflow to run tests and linters on push and pull requests" and link it here.
Type of Change
data/projects.jsonWhat Was Changed
.github/workflows/python-ci.ymlHow to Test This PR
git checkout chore/add-ci-workflowpip install -r requirements.txtpython -m pytest -qruff check .,black --check .,isort --check-only .Expected test output:
Test Results
Screenshots (if UI change)
N/A — Infrastructure / CI changes, no UI impact.
Self-Review Checklist
chore/add-ci-workflowpython tests/test_basic.pyand all 30 tests passprint()orconsole.log()debug statementsNotes for Reviewer
mainand all pull requests to ensure regressions are caught early.pip-auditto scan dependencies for known vulnerabilities.|| trueonpip-auditallows CI to pass even if vulnerabilities are found (for now); stricter enforcement can be added later.