mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-02-23 02:51:19 +01:00
38 lines
985 B
YAML
38 lines
985 B
YAML
name: Message Rendering
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
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@v4
|
|
|
|
# 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@master
|
|
if: failure()
|
|
with:
|
|
name: Logs
|
|
path: logs/errors.log
|
|
|