Skip to content

Commit

Permalink
Only have integration tests for SF6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
loevgaard committed Sep 23, 2024
1 parent 6179e07 commit 4eaeb6e
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -208,13 +208,11 @@ jobs:
- "8.2"

dependencies:
- "lowest"
- "highest"

symfony:
- "~5.4.0"
- "~6.4.0"

steps:
- name: "Start MySQL"
run: "sudo /etc/init.d/mysql start"
Expand All @@ -228,27 +226,14 @@ jobs:
coverage: "none"
extensions: "${{ env.PHP_EXTENSIONS }}"
php-version: "${{ matrix.php-version }}"

- name: "Add symfony/flex to composer.json"
run: "composer require --no-install --no-update --no-plugins --no-scripts symfony/flex"

- name: "Allow symfony/flex plugin"
run: "composer config --no-plugins allow-plugins.symfony/flex true"
tools: "flex"

- name: "Install composer dependencies"
uses: "ramsey/composer-install@v3"
env:
SYMFONY_REQUIRE: "${{ matrix.symfony }}"
with:
dependency-versions: "${{ matrix.dependencies }}"

- name: "Install symfony/swiftmailer-bundle if applicable"
if: "${{ matrix.symfony }} == '~5.4.0'"
run: "composer require symfony/swiftmailer-bundle"

- name: "Install symfony/mailer if applicable"
if: "${{ matrix.symfony }} == '~6.4.0'"
run: "composer require symfony/mailer"

- name: "Lint container"
run: "(cd tests/Application && bin/console lint:container)"
Expand Down

0 comments on commit 4eaeb6e

Please sign in to comment.