Skip to content

Update release workflow to free up disk space before building docker image #1077

Update release workflow to free up disk space before building docker image

Update release workflow to free up disk space before building docker image #1077

name: CI
on:
pull_request:
jobs:
build:
name: build
runs-on: ubuntu-latest
strategy:
matrix:
image_type: [pytorch]
env:
DOCKER_BUILDKIT: 1
IMAGE_TYPE: ${{ matrix.image_type }}
steps:
- uses: actions/checkout@v4
- run: df -hT
- run: rm -rf /opt/hostedtoolcache
- run: df -hT
- run: ./scripts/cibuild
- run: df -hT
- run: docker system prune -f
- run: df -hT
- run: ./scripts/test "style_tests"
- run: ./scripts/test "unit_tests"
- run: df -hT
- run: ./scripts/test "integration_tests"
- run: ./scripts/test "coverage"
- uses: codecov/codecov-action@v3