Repository navigation
.github/workflows/ci.yml defines a CPU job (Python 3.12, ffmpeg, libsndfile) that installs the package and runs the fast - #3
Open
unohee wants to merge 1 commit into
Conversation
GitHub Actions job on ubuntu-24.04 with Python 3.12, ffmpeg and libsndfile1. Installs CPU-only torch/torchaudio, then the package with a new [test] extra (pytest, librosa, onnx), and runs pytest -m "not slow". Assumptions: - push is limited to main; pull_request covers branch review, so PR branches are not tested twice. - librosa and onnx go in a test extra rather than core dependencies: they are needed only by v1.2 diagnostic modules and their tests, not by the runner. - Verified in a clean Python 3.12 venv with only these installs: 325 passed, 4 skipped.
unohee
added a commit
that referenced
this pull request
Nov 2, 2026
… the CPU job (Python 3.12, ffmpeg, libsndfile1, lib (#6) * ci: add CPU fast-suite workflow on push and pull_request GitHub Actions job on ubuntu-24.04 with Python 3.12, ffmpeg and libsndfile1. Installs CPU-only torch/torchaudio, then the package with a new [test] extra (pytest, librosa, onnx), and runs pytest -m "not slow". Assumptions: - push is limited to main; pull_request covers branch review, so PR branches are not tested twice. - librosa and onnx go in a test extra rather than core dependencies: they are needed only by v1.2 diagnostic modules and their tests, not by the runner. - Verified in a clean Python 3.12 venv with only these installs: 325 passed, 4 skipped. * ci: install libchromaprint-tools so validate_audio finds fpcalc PR #3 CI failed one test: tests/test_v12_audio.py::test_validator_reads_real_pcm raised FileNotFoundError for 'fpcalc'. artifactbench/v12/validate_audio.py shells out to fpcalc for Chromaprint fingerprints; on Ubuntu it ships in libchromaprint-tools. Assumption: install the tool rather than skip the test, since the validator genuinely requires fpcalc. * ci: make apt step non-interactive and bounded Run 41477730145 sat in the apt install step for over 10 minutes (the earlier run finished it in under a minute). Pass DEBIAN_FRONTEND=noninteractive to apt-get explicitly and cap the step at 10 minutes so a hang fails fast. Assumption: the stall was an interactive prompt or slow mirror, not a missing package; libchromaprint-tools exists in Ubuntu 24.04 universe. * ci: check documentation links and CLI flags after the fast suite Runs scripts/check_docs.py (merged in #5) in CI so README/docs commands and relative links stay in sync with the code. Context: this branch re-delivers the CI workflow from PRs #3/#4 (cherry-picked 21b1f4e, 6b13cbb, 4b7685c onto origin/main) because ci.yml never reached main. Assumption: check_docs runs after the suite, in the same job, since it needs the installed package to run each documented program's --help.
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.
Milestone of an auto-claude run.
Check:
~/RTX_ENV/bin/python -c "import yaml; w=yaml.safe_load(open('.github/workflows/ci.yml')); s=open('.github/workflows/ci.yml').read(); assert 'pull_request' in s and 'push' in s and 'not slow' in s and 'ffmpeg' in s" && systemd-run --user --scope -q -p MemoryMax=6G ~/RTX_ENV/bin/python -m pytest -m "not slow" -q -p no:cacheproviderPlan: .claude/auto-plan.md (local to the run).