Skip to content

Commit 3baec67

Browse files
committed
github: Download test input
1 parent c44541a commit 3baec67

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/docker-image.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,14 @@ jobs:
162162
registry: ${{ vars.REGISTRY }}
163163
username: ${{ github.repository_owner }}
164164
password: ${{ github.token }}
165+
- name: Get testinput
166+
run: |
167+
curl -fsSL -o dovecot.mbox https://dovecot.org/res/dovecot.mbox
165168
- name: Run imaptest
166169
run: |
167170
docker run --name dovecot-${{ inputs.VERSION }} -d --rm -e USER_PASSWORD=swordfish ${{ vars.REGISTRY }}/dovecot:${{ inputs.VERSION }}-${{ matrix.arch }}
168171
# run imaptest for 5 seconds
169-
docker exec dovecot-${{ inputs.VERSION }} imaptest host=localhost port=31143 pass=swordfish secs=5 user=testuser
172+
docker exec dovecot-${{ inputs.VERSION }} imaptest host=localhost port=31143 pass=swordfish secs=5 user=testuser mbox=dovecot.mbox
170173
docker kill dovecot-${{ inputs.VERSION }}
171174
172175
publish:

0 commit comments

Comments
 (0)