mirror of
https://github.com/archtechx/template.git
synced 2025-12-12 21:34:04 +00:00
wip
This commit is contained in:
parent
8127048dd3
commit
3a0d8d5c2b
2 changed files with 11 additions and 5 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
|
@ -13,15 +13,19 @@ on:
|
|||
|
||||
jobs:
|
||||
pest:
|
||||
name: Tests (Pest)
|
||||
name: Tests (Pest) L${{ matrix.laravel }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
laravel: [9, 8]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Start docker containers
|
||||
run: docker-compose up -d
|
||||
- name: Install composer dependencies
|
||||
run: composer install
|
||||
run: composer require "illuminate/support:^${{ matrix.laravel }}.0"
|
||||
- name: Run tests
|
||||
run: vendor/bin/pest
|
||||
|
||||
|
|
|
|||
|
|
@ -21,10 +21,10 @@
|
|||
},
|
||||
"require": {
|
||||
"php": "^8.0",
|
||||
"illuminate/support": "^8.24"
|
||||
"illuminate/support": "^8.24|^9.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"orchestra/testbench": "^6.9",
|
||||
"orchestra/testbench": "^6.9|^7.0",
|
||||
"nunomaduro/larastan": "^0.6.10",
|
||||
"pestphp/pest": "^1.2",
|
||||
"pestphp/pest-plugin-laravel": "^1.0"
|
||||
|
|
@ -35,5 +35,7 @@
|
|||
"ArchTech\\REPLACE\\PackageServiceProvider"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"minimum-stability": "dev",
|
||||
"prefer-stable": true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue