For container-based testing allow to specify a testrunner image, and COMPOSER_ARGS
Some checks failed
E2E / Linux / PHP ${{ matrix.php }} (8.1) (push) Has been cancelled
E2E / Linux / PHP ${{ matrix.php }} (8.3) (push) Has been cancelled
CI / Coding Style (push) Has been cancelled
CI / Static Analysis (push) Has been cancelled
roundcubemail-testrunner image / build and push with PHP ${{ matrix.php }} (8.3) (push) Has been cancelled
roundcubemail-testrunner image / build and push with PHP ${{ matrix.php }} (8.4) (push) Has been cancelled
roundcubemail-testrunner image / build and push with PHP ${{ matrix.php }} (8.5-rc) (push) Has been cancelled
Message Rendering / Linux / PHP 8.3 (push) Has been cancelled
Unit / Linux / PHP ${{ matrix.php }} (8.1) (push) Has been cancelled
Unit / Linux / PHP ${{ matrix.php }} (8.2) (push) Has been cancelled
Unit / Linux / PHP ${{ matrix.php }} (8.3) (push) Has been cancelled
Unit / Linux / PHP ${{ matrix.php }} (8.4) (push) Has been cancelled
Unit / Windows / PHP ${{ matrix.php }} (8.1) (push) Has been cancelled
Unit / Windows / PHP ${{ matrix.php }} (8.2) (push) Has been cancelled
Unit / Windows / PHP ${{ matrix.php }} (8.3) (push) Has been cancelled
Unit / Windows / PHP ${{ matrix.php }} (8.4) (push) Has been cancelled

This commit is contained in:
Pablo Zmdl 2025-09-08 22:12:46 +02:00 committed by Pablo Zmdl
parent a52ccf6504
commit b86a9b8221

View File

@ -21,7 +21,7 @@ services:
- mailhost
- browserhost
hostname: 'testrunner'
image: ghcr.io/roundcube/roundcubemail-testrunner:php8.3
image: ${ROUNDCUBEMAIL_IMAGE_TESTRUNNER:-ghcr.io/roundcube/roundcubemail-testrunner:php8.3}
volumes:
- '..:/app'
- '../tests/Browser/downloads:/downloads'
@ -33,13 +33,16 @@ services:
TESTRUNNER_DOWNLOADS_DIR: './tests/Browser/downloads'
RC_CONFIG_IMAP_HOST: 'tls://mailhost:3143'
RC_CONFIG_SMTP_HOST: 'mailhost:3025'
COMPOSER_ARGS: $COMPOSER_ARGS
working_dir: /work
command: '/usr/local/bin/run-in-copy.sh .ci/run_browser_tests.sh'
tests:
depends_on:
- mailhost
image: ghcr.io/roundcube/roundcubemail-testrunner:php8.3
image: ${ROUNDCUBEMAIL_IMAGE_TESTRUNNER:-ghcr.io/roundcube/roundcubemail-testrunner:php8.3}
environment:
COMPOSER_ARGS: $COMPOSER_ARGS
volumes:
- '..:/app'
working_dir: /work
@ -48,8 +51,9 @@ services:
test_message_rendering:
depends_on:
- mailhost
image: ghcr.io/roundcube/roundcubemail-testrunner:php8.3
image: ${ROUNDCUBEMAIL_IMAGE_TESTRUNNER:-ghcr.io/roundcube/roundcubemail-testrunner:php8.3}
environment:
COMPOSER_ARGS: $COMPOSER_ARGS
RC_CONFIG_IMAP_HOST: 'tls://mailhost:3143'
volumes:
- '..:/app'
@ -57,13 +61,17 @@ services:
- .ci/run_test_message_rendering.sh
codespell:
image: ghcr.io/roundcube/roundcubemail-testrunner:php8.3
image: ${ROUNDCUBEMAIL_IMAGE_TESTRUNNER:-ghcr.io/roundcube/roundcubemail-testrunner:php8.3}
environment:
COMPOSER_ARGS: $COMPOSER_ARGS
volumes:
- '..:/app'
entrypoint: ./.ci/run_php-cs-fixer.sh
codestyle:
image: ghcr.io/roundcube/roundcubemail-testrunner:php8.3
image: ${ROUNDCUBEMAIL_IMAGE_TESTRUNNER:-ghcr.io/roundcube/roundcubemail-testrunner:php8.3}
environment:
COMPOSER_ARGS: $COMPOSER_ARGS
volumes:
- '..:/app'
entrypoint: ./.ci/run_phpstan.sh