This commit is contained in:
@@ -11,9 +11,17 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
run: pip install pytest pyyaml click rich jinja2 jsonschema prompt_toolkit tomli
|
||||||
|
- name: Debug directory
|
||||||
run: |
|
run: |
|
||||||
pip install pytest pyyaml click rich jinja2 jsonschema prompt_toolkit tomli
|
pwd
|
||||||
- name: Debug tests
|
ls -la
|
||||||
run: ls tests/
|
ls -la tests/ 2>/dev/null || echo "No tests directory"
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: pytest tests/ -v --tb=short || true
|
run: |
|
||||||
|
if [ -d "tests" ]; then
|
||||||
|
pytest tests/ -v --tb=short || exit 1
|
||||||
|
else
|
||||||
|
echo "No tests found"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user