Skip to content

tests

tests #330

Workflow file for this run

name: tests
on:
pull_request:
push:
branches: [ main ]
schedule:
- cron: '25 08 * * *'
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: Debug with tmate
required: false
default: false
# This is required for "gautamkrishnar/keepalive-workflow"
permissions:
contents: write
jobs:
tests:
strategy:
matrix:
ddev_version: [stable, HEAD]
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: ddev/github-action-add-on-test@v1
env:
MITTWALD_API_TOKEN: ${{ secrets.MITTWALD_API_TOKEN }}
MITTWALD_APP_INSTALLATION_ID: ${{ vars.MITTWALD_APP_INSTALLATION_ID }}
MITTWALD_SSH_PRIVATE_KEY: ${{ secrets.MITTWALD_SSH_PRIVATE_KEY }}
MITTWALD_SSH_USER: ${{ secrets.MITTWALD_SSH_USER }}
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 }}