Fix CI workflow: replace snip --help with python -c to verify CLI works
Some checks failed
CI / test (push) Failing after 15s
CI / lint (push) Failing after 6s

This commit is contained in:
2026-03-22 11:27:12 +00:00
parent 9c53349b6a
commit b76b83eda3

View File

@@ -29,7 +29,7 @@ jobs:
- name: Verify package - name: Verify package
run: | run: |
python -c "from snip import cli; print('Import successful')" python -c "from snip import cli; print('Import successful')"
snip --help python -c "from snip.cli import cli; cli(['--help'])"
lint: lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -45,4 +45,4 @@ jobs:
run: pip install ruff run: pip install ruff
- name: Run ruff - name: Run ruff
run: ruff check . run: ruff check .