Skip to content

Conversation

@beonde
Copy link
Member

@beonde beonde commented Jan 14, 2026

Problem

The publish workflow was running all tests including integration tests, which require:

  • capiscio-server running on localhost:8080
  • capiscio-core binary installed

These dependencies are not available in the publish workflow environment, causing release failures.

Solution

Changed the publish workflow to only run unit tests (pytest tests/unit/).

The full integration test suite continues to run in the dedicated integration-tests.yml workflow which spins up the proper Docker infrastructure.

Integration tests require capiscio-server and capiscio-core binary
which are not available in the publish workflow environment.

The full integration test suite runs in the dedicated
integration-tests.yml workflow with Docker infrastructure.
Copilot AI review requested due to automatic review settings January 14, 2026 18:04
@github-actions
Copy link

✅ Documentation validation passed!

Unified docs will be deployed from capiscio-docs repo.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes the publish workflow to only run unit tests instead of all tests. Integration tests require infrastructure (capiscio-server and capiscio-core binary) that isn't available in the publish workflow environment, which was causing release failures.

Changes:

  • Updated the test job in publish.yml to run only unit tests from tests/unit/ directory
  • Added explanatory comments clarifying why integration tests are excluded
  • Renamed test step from "Run tests" to "Run unit tests" for clarity

@github-actions
Copy link

✅ All checks passed! Ready for review.

@codecov
Copy link

codecov bot commented Jan 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@beonde beonde merged commit 500dfad into main Jan 14, 2026
16 checks passed
@beonde beonde deleted the fix/publish-workflow-unit-tests-only branch January 14, 2026 18:20
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