Skip to content

Add CI workflow for format checking and test execution#71

Merged
michaelchu merged 3 commits intomasterfrom
copilot/setup-ci-cd-workflow
Jan 30, 2026
Merged

Add CI workflow for format checking and test execution#71
michaelchu merged 3 commits intomasterfrom
copilot/setup-ci-cd-workflow

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 30, 2026

Adds automated CI pipeline to validate code formatting and test suite on every push and pull request.

Changes

  • CI Workflow (.github/workflows/ci.yml)

    • Matrix testing across Python 3.8-3.12
    • Black format verification on optopsy/, tests/, setup.py
    • Pytest execution (33 tests)
    • Triggers on push/PR to main/master/develop branches + manual dispatch
  • README Badge

    • Added CI status badge for workflow visibility

Workflow Structure

jobs:
  test:
    strategy:
      matrix:
        python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
    steps:
      - Install dependencies
      - black --check (format validation)
      - pytest tests/ -v (test execution)

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits January 30, 2026 19:20
Co-authored-by: michaelchu <540510+michaelchu@users.noreply.github.com>
Co-authored-by: michaelchu <540510+michaelchu@users.noreply.github.com>
Copilot AI changed the title [WIP] Add CI/CD workflow for formatting and tests Add CI workflow for format checking and test execution Jan 30, 2026
@michaelchu michaelchu marked this pull request as ready for review January 30, 2026 19:39
@michaelchu michaelchu merged commit c061c85 into master Jan 30, 2026
6 checks passed
@michaelchu michaelchu deleted the copilot/setup-ci-cd-workflow branch January 30, 2026 19:40
michaelchu added a commit that referenced this pull request Feb 25, 2026
* Initial plan

* Add CI workflow to check formatting and run tests

Co-authored-by: michaelchu <540510+michaelchu@users.noreply.github.com>

* Add CI status badge to README

Co-authored-by: michaelchu <540510+michaelchu@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: michaelchu <540510+michaelchu@users.noreply.github.com>
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