mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
Test test
This commit is contained in:
parent
2bfc8e92ef
commit
5cb107b844
19
.github/workflows/ext-matrix-tests.yml
vendored
19
.github/workflows/ext-matrix-tests.yml
vendored
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user