Merge pull request #6 from mahdimsr/dev
dev: update run-tests.yml for running test action
This commit is contained in:
commit
8b416c09e0
|
|
@ -1,16 +1,10 @@
|
||||||
name: run-tests
|
name: run-tests
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main, dev]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
push:
|
|
||||||
branches: [dev, main]
|
|
||||||
paths:
|
|
||||||
- '**.php'
|
|
||||||
- '.github/workflows/run-tests.yml'
|
|
||||||
- 'phpunit.xml.dist'
|
|
||||||
- 'composer.json'
|
|
||||||
- 'composer.lock'
|
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
|
@ -18,19 +12,20 @@ concurrency:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
php: [8.4, 8.3]
|
php: [8.4]
|
||||||
laravel: [12.*, 11.*]
|
laravel: [12.*, 11.*]
|
||||||
stability: [prefer-stable]
|
stability: [prefer-stable]
|
||||||
include:
|
include:
|
||||||
- laravel: 12.*
|
- laravel: 12.*
|
||||||
|
testbench: 10.*
|
||||||
- laravel: 11.*
|
- laravel: 11.*
|
||||||
- laravel: 10.*
|
testbench: 9.*
|
||||||
|
|
||||||
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
|
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue