Skip to content

Commit

Permalink
Remove tests on lowest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
alexislefebvre committed Feb 18, 2021
1 parent 12dfa7d commit 0c71063
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,15 @@ on: [push, pull_request]

jobs:
tests:
name: Symfony ${{ matrix.symfony-version }} on PHP ${{ matrix.php-version }} flags ${{ matrix.composer-flags }}
name: Symfony ${{ matrix.symfony-version }} on PHP ${{ matrix.php-version }}
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
php-version: ['7.2', '7.3', '7.4', '8.0']
composer-flags: ['']
symfony-version: ['']
include:
- php-version: 7.2
composer-flags: "--prefer-lowest"
- php-version: 7.2
symfony-version: "^4.4"
- php-version: 7.3
Expand Down Expand Up @@ -70,14 +67,8 @@ jobs:
run: composer require --no-update symfony/framework-bundle=${{ matrix.symfony-version }}

- name: Install Composer dependencies
if: matrix.composer-flags == ''
run: composer install

- name: Install Composer dependencies with options
if: matrix.composer-flags != ''
# Use "update" instead of "install" since it allows using the "--prefer-lowest" option
run: composer update ${{ matrix.composer-flags }}

- name: Run tests
# In phpunit.xml.dist, tests annotated with "@group mysql" are excluded, revert this
# Run tests twice to ensure that tests are idempotent even if database caching is enabled
Expand Down

0 comments on commit 0c71063

Please sign in to comment.