Skip to content

Run only one of the tests at a time, max_parallel=1 (#6) #44

Run only one of the tests at a time, max_parallel=1 (#6)

Run only one of the tests at a time, max_parallel=1 (#6) #44

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
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]
max-parallel: 1
fail-fast: false
runs-on: ubuntu-latest
environment: base
env:
IBEXA_CLI_TOKEN: ${{ secrets.IBEXA_CLI_TOKEN }}
IBEXA_PROJECT: ${{ vars.IBEXA_PROJECT }}
steps:
- name: environment check
run: |
echo "IBEXA_PROJECT=${IBEXA_PROJECT}"
- 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 }}