Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions .github/workflows/build-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,8 @@ jobs:
run: |
poetry new ./install-run
cd ./install-run
sed -i 's/^\(python *= *\).*$/\1">=3.10,<3.12"/' pyproject.toml
sed -i -E 's|(python\s*=\s*)".*"|\1">=3.10,<3.13"|' pyproject.toml
rm -f poetry.lock
poetry add "$(ls ../dist/*.whl)"
poetry run python -c "import giskard"
install-pip:
Expand Down Expand Up @@ -319,9 +320,20 @@ jobs:
sudo swapoff -a
sudo rm -f /swapfile
sudo rm -rf /usr/local/lib/android
docker rmi $(docker image ls -aq)

# Only remove Docker images if any exist
IMAGES=$(docker image ls -aq)
if [ -n "$IMAGES" ]; then
docker rmi $IMAGES
fi

sudo apt update && sudo apt remove -y \
google-cloud-cli microsoft-edge-stable dotnet-sdk-* llvm-* google-chrome-stable temurin-*
google-cloud-cli \
microsoft-edge-stable \
dotnet-sdk-* \
llvm-* \
google-chrome-stable \
temurin-*
sudo apt autoremove -y
sudo apt autoclean -y

Expand Down
Loading