This commit is contained in:
@@ -11,17 +11,14 @@ 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: |
|
||||||
pwd
|
pip install --upgrade pip
|
||||||
ls -la
|
pip install pytest pyyaml click rich jinja2 jsonschema prompt_toolkit tomli
|
||||||
ls -la tests/ 2>/dev/null || echo "No tests directory"
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
if [ -d "tests" ]; then
|
if [ -d "tests" ]; then
|
||||||
pytest tests/ -v --tb=short || exit 1
|
pytest tests/ -v --tb=short
|
||||||
else
|
else
|
||||||
echo "No tests found"
|
echo "No tests directory found"
|
||||||
exit 0
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user