-
-
Notifications
You must be signed in to change notification settings - Fork 455
53 lines (44 loc) · 1.21 KB
/
test-dev-stability.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: "Dev dependencies stability check"
on:
schedule:
- cron: "0 0 * * 0"
jobs:
phpunit:
name: "PHPUnit"
runs-on: "ubuntu-latest"
env:
SYMFONY_REQUIRE: ${{matrix.symfony-require}}
strategy:
fail-fast: false
matrix:
php-version:
- "8.2"
dependencies:
- "highest"
stability:
- "dev"
symfony-require:
- ""
- "6.*"
steps:
- name: "Checkout"
uses: "actions/checkout@v4"
with:
fetch-depth: 2
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "${{ matrix.php-version }}"
ini-values: "zend.assertions=1"
extensions: "pdo_sqlite"
tools: "flex"
- name: "Require symfony/messenger"
run: "composer require --dev symfony/messenger --no-update"
if: "${{ startsWith(matrix.symfony-require, '4.') }}"
- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v3"
with:
dependency-versions: "${{ matrix.dependencies }}"
composer-options: "--prefer-dist"
- name: "Run PHPUnit"
run: "vendor/bin/phpunit"