Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/actions/with-docker/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ runs:
--build-arg LLVM_VERSION="${LLVM_VERSION}" \
--build-arg UV_VERSION="${UV_VERSION}"

docker rm -f "${CONTAINER_NAME}" || true

docker run \
--name "${CONTAINER_NAME}" \
--rm \
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,7 @@ jobs:
- name: 'Tear down Docker'
if: always()
run: |
# Best effort: the container does not exist if 'Set up Docker' failed, and a

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this comment (and a similar one below) still apply, as it documents the reasoning behind || true.

# non-zero exit here would mask the step that actually failed.
docker stop --timeout=0 kevm-ci-concrete-${{ github.sha }} || true
docker rm -f kevm-ci-concrete-${{ github.sha }} || true

test-prove:
name: 'Proofs: ${{ matrix.name }}'
Expand Down Expand Up @@ -170,9 +168,7 @@ jobs:
- name: 'Tear down Docker'
if: always()
run: |
# Best effort: the container does not exist if 'Set up Docker' failed, and a
# non-zero exit here would mask the step that actually failed.
docker stop --timeout=0 kevm-ci-haskell-${{ matrix.test-suite }}-${{ github.sha }} || true
docker rm -f kevm-ci-haskell-${{ matrix.test-suite }}-${{ github.sha }} || true

nix:
name: 'Nix'
Expand Down