Skip to content

feat: add CI workflow for pytest#355

Merged
cary-rowen merged 3 commits into
blindpandas:developfrom
cary-rowen:feature/add-pytest-ci
Jan 8, 2026
Merged

feat: add CI workflow for pytest#355
cary-rowen merged 3 commits into
blindpandas:developfrom
cary-rowen:feature/add-pytest-ci

Conversation

@cary-rowen

Copy link
Copy Markdown
Collaborator

Link to issue number:

N/A

Summary of the issue:

The project currently lacks an automated testing workflow in CI to run unit tests using pytest.

Description of how this pull request fixes the issue:

This PR adds a new Test job to the GitHub Actions workflow (.github/workflows/build.yml).
It performs the following:

  • Sets up Python 3.11 and installs uv.
  • Installs all dependencies, including local architecture-specific packages (e.g., pytqsm).
  • Generates necessary resources (app icons) required for GUI tests.
  • Runs pytest to verify code quality.
  • Adds pytest-github-actions-annotate-failures to annotates test failures directly in the PR.
  • Configures the Build job to depend on the Test job, ensuring only passing code is built.

Testing performed:

  • Validated locally on Windows environment: all 35 tests passed.
  • Verified in CI (on the fork): The workflow correctly installs dependencies, generates resources, and executes tests.

Known issues with pull request:

None.

@cary-rowen
cary-rowen changed the base branch from main to develop January 8, 2026 08:31
@cary-rowen
cary-rowen merged commit 1efea3a into blindpandas:develop Jan 8, 2026
6 checks passed
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