Skip to content

Commit db2b1dd

Browse files
committed
debug(ci): add verification to diagnose test failures
Adding debug output to check: - metaspec installation location - contribute_command signature and parameters - whether typer.Option metadata is preserved This will help identify why tests pass locally but fail in CI.
1 parent c51c6c8 commit db2b1dd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ jobs:
2929
run: |
3030
uv pip install --system -e ".[dev]"
3131
32+
- name: Verify installation
33+
run: |
34+
python -c "import metaspec; print('metaspec file:', metaspec.__file__)"
35+
python -c "from metaspec.cli.contribute import contribute_command; import inspect; sig = inspect.signature(contribute_command); print('contribute params:', list(sig.parameters.keys())); print('command param:', sig.parameters.get('command'))"
36+
3237
- name: Run tests
3338
run: |
3439
python -m pytest --cov=metaspec --cov-report=xml --cov-report=term

0 commit comments

Comments
 (0)