Skip to content

Tests

Tests #112

Workflow file for this run

---
name: Tests
on:
pull_request:
push:
branches: [ main, wip ]
schedule:
# Daily at 00:00:00 UTC.
# @see https://crontab.cronhub.io/
- cron: "0 0 * * *"
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: Debug with tmate
required: false
default: false
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# This is required for "gautamkrishnar/keepalive-workflow", see "ddev/github-action-add-on-test".
permissions:
actions: write
jobs:
tests:
strategy:
matrix:
ddev_version: [ stable, HEAD ]
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: ddev/github-action-add-on-test@v2 # https://github.com/marketplace/actions/ddev-add-on-test
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 }}