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
|
- 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
|
||||||
|
|||||||
Reference in New Issue
Block a user