Add CI test workflow with Codecov coverage#33
Merged
Conversation
…, embeddings Replace all falcon.contrib references with new package paths (falcon.estimators, falcon.priors, falcon.embeddings). Consolidate SNPE_A docs into Flow, add new pages for Gaussian, Product, FlowDensity, and Embeddings. Fix embedding config to be sibling of network. Update mkdocs nav structure. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add GitHub Actions workflow that runs unit tests and smoke tests on push to main and PRs. Unit tests upload coverage to Codecov. Add test and coverage badges to README. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
Run each example as a separate CI job so they execute concurrently instead of sequentially (~2min vs ~4min wall time). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add timm to install_requires (needed by 03_composite example). Increase subprocess timeout from 3 to 10 minutes for CI reliability. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
03_composite needs >7GB RAM (two ResNet18 + Ray actors). 05_linear_regression requires a GPU. Both are auto-skipped via CI env var detection and removed from the CI matrix. They still run locally with `pytest -m slow`. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
timm is only needed by 03_composite which is skipped in CI. Restore original 3 minute subprocess timeout. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.github/workflows/tests.ymlwith two jobs:pytest -m "not slow"with coverage, uploads to Codecovpytest -m slow(end-to-end example tests, 15min timeout)mainand PRs targetingmainSetup required
CODECOV_TOKENas a GitHub repo secret (Settings → Secrets → Actions)Test plan
🤖 Generated with Claude Code