Fix CI workflow: replace snip --help with python -c to verify CLI works
This commit is contained in:
@@ -29,7 +29,7 @@ jobs:
|
||||
- name: Verify package
|
||||
run: |
|
||||
python -c "from snip import cli; print('Import successful')"
|
||||
snip --help
|
||||
python -c "from snip.cli import cli; cli(['--help'])"
|
||||
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -45,4 +45,4 @@ jobs:
|
||||
run: pip install ruff
|
||||
|
||||
- name: Run ruff
|
||||
run: ruff check .
|
||||
run: ruff check .
|
||||
Reference in New Issue
Block a user