roundcubemail-docker/.github/workflows/test-development.yml
Pablo Zmdl c1a7cb1ddc Separate workflow for development image
It needs different testing than the main images, thus we use standalone
workflows.

This also makes the main workflows ignore changes in development/ and
nightly/
2025-06-16 15:29:00 +02:00

31 lines
812 B
YAML

name: Build & test development image
permissions:
contents: read
on:
pull_request:
paths:
- "development/**"
- ".github/workflows/*-development.yml"
jobs:
build-and-test:
name: Build and test development image
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Build development image for tests"
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
with:
context: development
load: true
tags: roundcube/roundcubemail:development
- name: Test built image
env:
ROUNDCUBEMAIL_TEST_IMAGE: roundcube/roundcubemail:development
run: ./development/test.sh