Skip to content

Conversation

@baogorek
Copy link
Collaborator

Summary

Adds automated testing of policyengine-us-data to catch breaking changes in microimpute before they're merged.

Motivation

Recent changes to microimpute broke policyengine-us-data's dataset generation (#133). This PR adds CI to prevent similar issues in the future.

Changes

  • Added that:
    • Runs on all PRs and pushes to main
    • Installs microimpute from the current branch
    • Tests policyengine-us-data's PUF generation that depends on microimpute
    • Warns if changes break downstream packages (without blocking PRs)

Impact

  • Developers will immediately know if their changes break policyengine-us-data
  • Better stability for the PolicyEngine ecosystem
  • Faster detection and resolution of integration issues

Testing

The workflow will run on this PR itself, demonstrating the integration test.

Fixes #134
Related to #133

This workflow will run policyengine-us-data's PUF tests to catch
breaking changes in microimpute before they affect downstream packages.

The test runs on PRs and pushes to main, helping developers know
immediately if their changes break dependent packages.
@baogorek baogorek self-assigned this Oct 14, 2025
@github-actions
Copy link

⚠️ This change may break policyengine-us-data. Please check the Build Datasets test results.

Use Python 3.12 to match microimpute's minimum required version
Run 'make download' and 'make data' with TEST_LITE=True to properly test
microimpute integration in policyengine-us-data's data generation pipeline
- Remove continue-on-error so the check accurately reflects pass/fail status
- Add HUGGING_FACE_TOKEN environment variable for downloading required data
- This ensures the CI properly blocks PRs that would break policyengine-us-data
@github-actions
Copy link

⚠️ This change may break policyengine-us-data. Please check the Build Datasets test results.

1 similar comment
@github-actions
Copy link

⚠️ This change may break policyengine-us-data. Please check the Build Datasets test results.

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.

Add CI to prevent breaking changes in policyengine-us-data

2 participants