Skip to content

Commit

Permalink
[minor] adjust CI matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
kbond committed Sep 28, 2021
1 parent 4b13884 commit 660d812
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,11 @@ jobs:
matrix:
php: [7.4, 8.0]
stability: [hightest]
symfony: [4.4.*, 5.2.*, 5.3.*]
symfony: [4.4.*, 5.3.*, 5.4.*]
include:
- php: 7.4
stability: lowest
symfony: '*'
- php: 8.0
stability: highest
symfony: '5.4.*@dev'
steps:
- name: Checkout code
uses: actions/checkout@v2.3.3
Expand All @@ -31,13 +28,7 @@ jobs:
with:
php-version: ${{ matrix.php }}
coverage: none

- name: Install Symfony Flex
run: composer global require --no-progress --no-scripts --no-plugins symfony/flex dev-main

- name: Set minimum-stability to dev
run: composer config minimum-stability dev
if: ${{ contains(matrix.symfony, '@dev') }}
tools: flex

- name: Install dependencies
uses: ramsey/composer-install@v1
Expand Down
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,7 @@
},
"autoload-dev": {
"psr-4": { "Zenstruck\\Mailer\\Test\\Tests\\": "tests/" }
}
},
"minimum-stability": "dev",
"prefer-stable": true
}

0 comments on commit 660d812

Please sign in to comment.