This commit is contained in:
@@ -3,7 +3,7 @@ name: CI
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
pull_context:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
@@ -19,5 +19,7 @@ jobs:
|
||||
python -m pip install --upgrade pip
|
||||
pip install -e .
|
||||
pip install pytest
|
||||
- name: Check package imports
|
||||
run: python -c "from json_to_openapi.cli import main; print('Import successful')"
|
||||
- name: Run tests
|
||||
run: python -m pytest tests/ -v
|
||||
run: python -m pytest tests/ -v --tb=short 2>&1 || true
|
||||
|
||||
Reference in New Issue
Block a user