Files
roundcubemail/.github/workflows/message_rendering.yml
Pablo Zmdl 16f9de14e1 WIP: reduce artifacts of testing in source code dir
Note: This breaks tests that download files
2025-06-17 14:42:52 +02:00

41 lines
1.1 KiB
YAML

name: Message Rendering
on:
push:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
message_rendering:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[ci skip]')"
strategy:
fail-fast: false
name: Linux / PHP 8.3
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
# Run via docker compose because we can't run greenmail in a server here
# (it requires the testing emails to be present when starting but
# services are started before the repo is cloned). And instead of
# re-building what our compose-file contains we can just use it.
- name: Run tests via docker compose
run: docker compose -f .ci/compose.yaml run test_message_rendering
- name: Upload artifacts
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
if: failure()
with:
name: Logs
path: logs/errors.log