This commit is contained in:
Richard Smith 2024-10-16 00:30:04 +01:00
parent 0bf9138122
commit 3c7289c844

View file

@ -226,11 +226,15 @@ jobs:
run: | run: |
pip3 install dist/*.whl pip3 install dist/*.whl
cd / cd /
echo "moo"
(exec 2>/dev/null python3 -c 'import pyray; pyray.init_window(100,100,"test")' 2>/dev/null >output) (exec 2>/dev/null python3 -c 'import pyray; pyray.init_window(100,100,"test")' 2>/dev/null >output)
exit_code=$? echo "woo"
if cat output | grep -q "INFO: Initializing raylib"; then cat output
if grep -q "INFO: Initializing raylib" output; then
echo "boo"
exit 0 exit 0
else else
echo "foo"
exit 1 exit 1
fi fi