Skip to content

feat: add GitHub Actions CI workflow#393

Open
dashitongzhi wants to merge 1 commit into
dgkanatsios:mainfrom
dashitongzhi:feat/ci-20260519201212
Open

feat: add GitHub Actions CI workflow#393
dashitongzhi wants to merge 1 commit into
dgkanatsios:mainfrom
dashitongzhi:feat/ci-20260519201212

Conversation

@dashitongzhi

Copy link
Copy Markdown

Add Python CI workflow for automated testing and linting

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

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.

Changes:

  • Introduces a Python CI workflow running on Ubuntu with a Python version matrix (3.9–3.12)
  • Adds steps for dependency installation, linting (flake8), type checking (mypy), and tests (pytest/unittest)
  • 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"
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