mirror of
https://github.com/roundcube/roundcubemail-docker.git
synced 2026-05-05 02:46:14 +02:00
Run tests on clean slate
Previously the volume was reused, and thus the existing files belonged to root, which prevented writing into them.
This commit is contained in:
parent
94f86ddf2c
commit
efb91c27ef
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
@ -70,8 +70,8 @@ jobs:
|
||||
set -exu;
|
||||
for testFile in ${{ join(matrix.test-files, ' ') }};
|
||||
do
|
||||
docker compose -f ./tests/docker-compose.test-${testFile}.yml \
|
||||
up --exit-code-from=sut --abort-on-container-exit
|
||||
docker compose -f ./tests/docker-compose.test-${testFile}.yml down -v
|
||||
docker compose -f ./tests/docker-compose.test-${testFile}.yml up --exit-code-from=sut --abort-on-container-exit
|
||||
done
|
||||
|
||||
- name: Build nonroot image for "${{ matrix.variant }}"
|
||||
@ -91,6 +91,6 @@ jobs:
|
||||
set -exu;
|
||||
for testFile in ${{ join(matrix.test-files, ' ') }};
|
||||
do
|
||||
docker compose -f ./tests/docker-compose.test-${testFile}.yml \
|
||||
up --exit-code-from=sut --abort-on-container-exit
|
||||
docker compose -f ./tests/docker-compose.test-${testFile}.yml down -v
|
||||
docker compose -f ./tests/docker-compose.test-${testFile}.yml up --exit-code-from=sut --abort-on-container-exit
|
||||
done
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user