We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b57aa00 commit daa6a6bCopy full SHA for daa6a6b
2 files changed
.github/workflows/docker-devito.yml
@@ -112,7 +112,6 @@ jobs:
112
build-args: base=devitocodes/${{ matrix.base }}
113
114
- name: Remove dangling layers
115
- if: ${{ !contains(matrix.runner, 'nvidiagpu') }}
116
run: docker system prune -f
117
118
- name: Run tests
.github/workflows/pytest-gpu.yml
@@ -124,3 +124,10 @@ jobs:
124
run: |
125
docker run ${{ matrix.flags }} --env DEVITO_MPI=1 "${DOCKER_IMAGE}" \
126
mpiexec -n 2 pytest ${{ matrix.test_examples }}
127
+
128
+ - name: Clean up test image
129
+ if: always()
130
+ run: |
131
+ docker rmi -f "${DOCKER_IMAGE}" || true # drop the tag
132
+ docker system prune -f # free dangling layers
133
0 commit comments