Minimal CI - just run tests without lint
This commit is contained in:
@@ -26,23 +26,3 @@ jobs:
|
|||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
pytest tests/ -v
|
pytest tests/ -v
|
||||||
|
|
||||||
- name: Verify package
|
|
||||||
run: |
|
|
||||||
python -c "from snip import cli; print('Import successful')"
|
|
||||||
|
|
||||||
lint:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: '3.11'
|
|
||||||
|
|
||||||
- name: Install ruff
|
|
||||||
run: pip install ruff
|
|
||||||
|
|
||||||
- name: Run ruff
|
|
||||||
run: ruff check snip/ tests/
|
|
||||||
Reference in New Issue
Block a user