Skip to content

Commit 5025d9c

Browse files
authored
Update unit-tests.yml
1 parent fdafc8d commit 5025d9c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/unit-tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,10 @@ jobs:
5656
5757
- name: Run unit tests
5858
run: |
59-
pytest --junitxml=test-results.xml || true
59+
pytest --junitxml=test-results.xml || {
60+
echo "Tests failed! Creating empty test-results.xml...";
61+
touch test-results.xml; # Создаем пустой файл, если тесты не прошли
62+
}
6063
id: run-tests
6164

6265
- name: Check test results

0 commit comments

Comments
 (0)