Test test

This commit is contained in:
crazywhalecc 2025-06-18 11:53:17 +08:00
parent 2bfc8e92ef
commit 5cb107b844
No known key found for this signature in database
GPG Key ID: 1F4BDD59391F2680

View File

@ -1,27 +1,14 @@
name: "Extension matrix tests"
# Only run if:
# - the workflow is manually triggered
# - or a pull request is made to the main branch that modifies this workflow file or commit message contains "fix" or "test"
on:
workflow_dispatch:
pull_request:
branches: [ "main" ]
paths:
- '.github/workflows/ext-matrix-tests.yml'
- 'src/**'
- 'config/**'
- 'bin/**'
- 'composer.json'
- 'box.json'
- '.php-cs-fixer.php'
workflow_dispatch:
push:
jobs:
test:
name: "${{ matrix.extension }} (PHP ${{ matrix.php-version }} on ${{ matrix.operating-system }})"
runs-on: ${{ matrix.operating-system }}
if: github.event_name == 'push' && (contains(github.event.head_commit.message, 'fix') || contains(github.event.head_commit.message, 'test'))
if: contains(github.event.head_commit.message, 'extension test')
strategy:
fail-fast: false
matrix: