Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 19 additions & 5 deletions .github/workflows/code_checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,30 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['7.2', '7.3', '7.4', '8.0', '8.1']
stability: [ prefer-lowest, prefer-stable ]
include:
- description: 'Lowest supported requirements'
php: '7.2'
stability: prefer-lowest
- php: '7.2'
stability: prefer-stable
- php: '7.3'
stability: prefer-stable
- php: '7.4'
stability: prefer-stable
- php: '8.0'
stability: prefer-stable
- php: '8.1'
stability: prefer-stable
- php: '8.2'
stability: prefer-stable

name: PHP ${{ matrix.php }} - ${{ matrix.stability }} tests
name: PHP ${{ matrix.php }} tests - ${{ matrix.stability }}
steps:
# basically git clone
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Cache dependencies
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~/.composer/cache/files
key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/code_coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
code_coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: 8.0
Expand All @@ -17,7 +17,7 @@ jobs:

- run: vendor/bin/phpunit --coverage-clover build/logs/clover.xml

- uses: codecov/codecov-action@v1.3.1
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: build/logs/clover.xml
9 changes: 5 additions & 4 deletions .github/workflows/tests-upcoming-symfony.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,22 @@ jobs:
continue-on-error: true
steps:
- name: 'Checkout code'
uses: actions/checkout@v2.3.3
uses: actions/checkout@v3

- name: 'Install PHP with extensions'
uses: shivammathur/setup-php@2.7.0
uses: shivammathur/setup-php@2.22.0
with:
coverage: none
php-version: '8.0'
php-version: '8.1'
tools: composer:v2
extensions: mbstring
ini-values: date.timezone=UTC

- name: 'Install project dependencies'
env:
SYMFONY_REQUIRE: '6.0.x@dev'
SYMFONY_REQUIRE: '6.3.x@dev'
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
Expand Down