forked from j-guyon/CommandSchedulerBundle
-
Notifications
You must be signed in to change notification settings - Fork 24
44 lines (38 loc) · 1.36 KB
/
tests-upcoming-symfony.yaml
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
# OS: Linux; Symfony: upcoming (still unreleased) version; PHP: latest stable
name: "Tests - Upcoming Symfony version"
on: [push, pull_request]
env:
fail-fast: true
jobs:
tests:
runs-on: 'ubuntu-latest'
continue-on-error: true
strategy:
matrix:
symfony-version: ['7.3.x@dev']
steps:
- name: 'Checkout code'
uses: actions/checkout@v4
- name: 'Install PHP with extensions'
uses: shivammathur/[email protected]
with:
coverage: none
php-version: '8.4'
tools: composer:v2
extensions: pcov, curl, libxml, pcntl, pdo
ini-values: date.timezone=UTC
- name: 'Install project dependencies'
#env:
#SYMFONY_REQUIRE: ${{ matrix.symfony-version }}
run: |
composer global config --no-plugins allow-plugins.symfony/flex true
composer global require --no-progress --no-scripts --no-plugins symfony/flex
composer config minimum-stability dev
composer config prefer-stable false
composer update --no-interaction --optimize-autoloader
vendor/bin/simple-phpunit install
- name: 'Run tests'
env:
#SYMFONY_DEPRECATIONS_HELPER: 'max[indirect]=9999&max[direct]=0&max[self]=9999'
SYMFONY_DEPRECATIONS_HELPER: 'weak'
run: vendor/bin/simple-phpunit || exit 0