Skip to content

Transforms 0.2.3.dev1 #169

Transforms 0.2.3.dev1

Transforms 0.2.3.dev1 #169

name: Test - transforms/packaging/python
on:
workflow_dispatch:
push:
branches:
- "dev"
- "releases/**"
tags:
- "*"
paths:
- ".make.*"
- "transforms/packaging/python/**"
- "!**.md"
- "!**/doc/**"
- "!**/images/**"
- "!**.gitignore"
pull_request:
branches:
- "dev"
- "releases/**"
paths:
- ".make.*"
- "transforms/packaging/python/**"
- "!**.md"
- "!**/doc/**"
- "!**/images/**"
- "!**.gitignore"
jobs:
test-src:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Free up space in github runner
# Free space as indicated here : https://github.com/actions/runner-images/issues/2840#issuecomment-790492173
run: |
df -h
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
sudo rm -rf /usr/share/dotnet /opt/ghc /usr/local/lib/android /usr/local/share/powershell /usr/share/swift /usr/local/.ghcup
sudo docker rmi $(docker image ls -aq) >/dev/null 2>&1 || true
df -h
- name: Test transform source in transforms/packaging/python
run: |
if [ -e "transforms/packaging/python/Makefile" ]; then
make -C transforms/packaging/python DOCKER=docker test-src
else
echo "transforms/packaging/python/Makefile not found - source testing disabled for this transform."
fi