Spaces:
Sleeping
Sleeping
Reem commited on
Commit ·
e455468
1
Parent(s): 1c0b506
test-v3-Run-unit-tests
Browse files
.github/workflows/push_to_hf_space.yml
CHANGED
|
@@ -51,15 +51,12 @@ jobs:
|
|
| 51 |
exit 1
|
| 52 |
fi
|
| 53 |
|
| 54 |
-
#
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
run: |
|
| 61 |
-
echo "No tests implemented yet — placeholder step."
|
| 62 |
-
echo "This will later run pytest."
|
| 63 |
|
| 64 |
# -------------------------
|
| 65 |
# 6. Push to HuggingFace
|
|
|
|
| 51 |
exit 1
|
| 52 |
fi
|
| 53 |
|
| 54 |
+
# 5. this is the completed test step
|
| 55 |
+
- name: Run unit tests
|
| 56 |
+
run: |
|
| 57 |
+
pip install pytest
|
| 58 |
+
pytest A4/ -v --tb=short
|
| 59 |
+
|
|
|
|
|
|
|
|
|
|
| 60 |
|
| 61 |
# -------------------------
|
| 62 |
# 6. Push to HuggingFace
|