Skip to content

feat: add GitHub Actions CI workflow and contribution improvements#1430

Open
dashitongzhi wants to merge 1 commit into
ihmily:mainfrom
dashitongzhi:feat/improvements-20260519162314
Open

feat: add GitHub Actions CI workflow and contribution improvements#1430
dashitongzhi wants to merge 1 commit into
ihmily:mainfrom
dashitongzhi:feat/improvements-20260519162314

Conversation

@dashitongzhi

Copy link
Copy Markdown

Summary\n\nThis PR adds GitHub Actions CI workflow and contribution improvements to the project.\n\n## Changes Made\n\n- Add CI workflow for automated testing and linting in multiple languages\n- Improve project documentation with contribution guidelines\n- Add common development patterns to .gitignore\n\n## Checklist\n\n- [x] Code follows project style guidelines\n- [x] Documentation updated where applicable\n\n---\nSubmitted via OSS PR Campaign by Kral\n

Copilot AI review requested due to automatic review settings May 19, 2026 08:23

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds a GitHub Actions workflow to run Python CI on pushes and pull requests across multiple Python versions.

Changes:

  • Introduces a new Python CI workflow triggered on push and pull_request
  • Runs linting (flake8), type checking (mypy), and tests (pytest/unittest) across Python 3.9–3.12
  • Enables pip caching via actions/setup-python

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

cache: 'pip'
- name: Install dependencies
run: |
pip install -e . 2>/dev/null || pip install -r requirements.txt 2>/dev/null || true
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
- name: Type check with mypy
run: |
mypy . --ignore-missing-imports 2>/dev/null || echo "mypy not configured"
mypy . --ignore-missing-imports 2>/dev/null || echo "mypy not configured"
- name: Run tests
run: |
pytest --tb=short --cov=. --cov-report=term-missing 2>/dev/null || python -m unittest discover 2>/dev/null || echo "No test framework found"
Comment on lines +21 to +24
- name: Install dependencies
run: |
pip install -e . 2>/dev/null || pip install -r requirements.txt 2>/dev/null || true
pip install pytest pytest-cov flake8 mypy
Comment on lines +21 to +24
- name: Install dependencies
run: |
pip install -e . 2>/dev/null || pip install -r requirements.txt 2>/dev/null || true
pip install pytest pytest-cov flake8 mypy
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