@@ -810,6 +810,9 @@ jobs:
810
810
sudo apt install git g++ debhelper devscripts gnupg python3 valgrind
811
811
sudo apt autoremove
812
812
sudo apt clean
813
+ # Install libraries used by the cppyy test suite
814
+ sudo apt install libeigen3-dev
815
+ sudo apt install libboost-all-dev
813
816
814
817
- name : Install deps on MacOS
815
818
if : runner.os == 'macOS'
@@ -821,6 +824,8 @@ jobs:
821
824
brew link --overwrite "$pkg"
822
825
done
823
826
brew upgrade
827
+ brew install eigen
828
+ brew install boost
824
829
pip install distro pytest
825
830
826
831
- name : Restore Cache LLVM/Clang runtime build directory
@@ -1077,9 +1082,6 @@ jobs:
1077
1082
continue-on-error : true
1078
1083
if : ${{ (runner.os != 'windows') && (matrix.cppyy == 'On') && (matrix.xeus-clang-repl != 'On') }}
1079
1084
run : |
1080
- # Install libraries used by the cppyy test suite
1081
- sudo apt install libeigen3-dev
1082
- sudo apt install libboost-all-dev
1083
1085
# Run the tests
1084
1086
source .venv/bin/activate
1085
1087
cd cppyy/test
@@ -1091,23 +1093,7 @@ jobs:
1091
1093
python -m pip install numba
1092
1094
echo ::endgroup::
1093
1095
echo ::group::Run complete test suite
1094
- python -m pytest --tb=short -ra -sv> pytest_dump.log 2>&1 || :
1095
- last_line=$(tail -n 1 pytest_dump.log)
1096
- passed=$(echo "$last_line" | grep -oP "\d+ passed")
1097
- failed=$(echo "$last_line" | grep -oP "\d+ failed")
1098
- skipped=$(echo "$last_line" | grep -oP "\d+ skipped")
1099
- xpassed=$(echo "$last_line" | grep -oP "\d+ xpassed")
1100
- xfailed=$(echo "$last_line" | grep -oP "\d+ xfailed")
1101
- errors=$(echo "$last_line" | grep -oP "\d+ errors")
1102
- echo -e "\e[32mPASS: $passed\e[0m"
1103
- echo -e "\e[31mFAIL: $failed\e[0m"
1104
- echo -e "\e[33mSKIP: $skipped\e[0m"
1105
- echo -e "\e[33mXPASS: $xpassed\e[0m"
1106
- echo -e "\e[33mXFAIL: $xfailed\e[0m"
1107
- echo -e "\e[33mERRORS: $errors\e[0m"
1108
- echo ::endgroup::
1109
- echo "Cppyy Test Logs:"
1110
- tail -n1 pytest_dump.log
1096
+ python -m pytest
1111
1097
echo ::group::Crashing Test Logs
1112
1098
# See if we don't have a crash that went away
1113
1099
# Comment out all xfails but the ones that have a run=False condition.
0 commit comments