Skip to content

tests

tests #189

Workflow file for this run

name: tests
on:
pull_request:
paths-ignore:
- "**.md"
push:
branches: [ main ]
paths-ignore:
- "**.md"
schedule:
- cron: '25 08 * * *'
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: Debug with tmate
required: false
default: false
full_tests:
type: boolean
description: Run full Drupal install test (slow)
required: false
default: false
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
maintenance-checker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run DDEV Add-on Update Checker
run: curl -fsSL https://ddev.com/s/addon-update-checker.sh | bash
tests:
needs: maintenance-checker
strategy:
matrix:
ddev_version: [stable, HEAD]
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: ddev/github-action-add-on-test@v2
with:
ddev_version: ${{ matrix.ddev_version }}
token: ${{ secrets.GITHUB_TOKEN }}
debug_enabled: ${{ github.event.inputs.debug_enabled }}
addon_repository: ${{ env.GITHUB_REPOSITORY }}
addon_ref: ${{ env.GITHUB_REF }}
env:
DCQ_FULL_TESTS: ${{ github.event.inputs.full_tests }}