mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +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"
|
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:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
pull_request:
|
push:
|
||||||
branches: [ "main" ]
|
|
||||||
paths:
|
|
||||||
- '.github/workflows/ext-matrix-tests.yml'
|
|
||||||
- 'src/**'
|
|
||||||
- 'config/**'
|
|
||||||
- 'bin/**'
|
|
||||||
- 'composer.json'
|
|
||||||
- 'box.json'
|
|
||||||
- '.php-cs-fixer.php'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
name: "${{ matrix.extension }} (PHP ${{ matrix.php-version }} on ${{ matrix.operating-system }})"
|
name: "${{ matrix.extension }} (PHP ${{ matrix.php-version }} on ${{ matrix.operating-system }})"
|
||||||
runs-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:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user