diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 202bd01..4978270 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,14 @@ jobs: command: build args: --release # lint already runs on Linux and check is not needed as already happens while building - - run: | + - name: Cleanup docker + run: | + mkdir C:\docker-data + Set-Content -Value "`{`"data-root`":`"C:\\docker-data`"`}" -Path C:\ProgramData\docker\config\daemon.json + Restart-Service docker + shell: powershell + - name: Run integration tests + run: | WINDOWS=true ./integration_test.sh shell: bash diff --git a/integration_test.sh b/integration_test.sh index 87da2d4..9c611ef 100755 --- a/integration_test.sh +++ b/integration_test.sh @@ -12,9 +12,6 @@ done # Start Docuum in the background. echo 'Starting Docuum…' if $WINDOWS; then - # Windows integration tests doesn't run with dind so we need to prune all images on the CI worker - echo 'Pruning images on Windows CI worker…' - docker image prune -a -f target/release/docuum.exe --threshold 725MB & else /artifacts/docuum-x86_64-unknown-linux-musl --threshold 13MB &