Skip to content

Commit 10097e0

Browse files
authored
[ci] Extend the CI to run full test suite (#190)
1 parent 206251c commit 10097e0

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,26 @@ jobs:
894894
python -m pip install --upgrade pip
895895
python -m pip install pytest
896896
python -m pip install pytest-xdist
897+
python -m pip install numba
897898
echo ::endgroup::
899+
echo ::group::Run complete test suite
900+
python -m pytest --tb=short -ra -sv> pytest_dump.log 2>&1 || :
901+
last_line=$(tail -n 1 pytest_dump.log)
902+
passed=$(echo "$last_line" | grep -oP "\d+ passed")
903+
failed=$(echo "$last_line" | grep -oP "\d+ failed")
904+
skipped=$(echo "$last_line" | grep -oP "\d+ skipped")
905+
xpassed=$(echo "$last_line" | grep -oP "\d+ xpassed")
906+
xfailed=$(echo "$last_line" | grep -oP "\d+ xfailed")
907+
errors=$(echo "$last_line" | grep -oP "\d+ errors")
908+
echo -e "\e[32mPASS: $passed\e[0m"
909+
echo -e "\e[31mFAIL: $failed\e[0m"
910+
echo -e "\e[33mSKIP: $skipped\e[0m"
911+
echo -e "\e[33mXPASS: $xpassed\e[0m"
912+
echo -e "\e[33mXFAIL: $xfailed\e[0m"
913+
echo -e "\e[33mERRORS: $errors\e[0m"
914+
echo ::endgroup::
915+
echo "Cppyy Test Logs:"
916+
tail -n1 pytest_dump.log
898917
echo ::group::Crashing Test Logs
899918
# See if we don't have a crash that went away
900919
# Comment out all xfails but the ones that have a run=False condition.

0 commit comments

Comments
 (0)