Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow testing against Symfony 7 #1293

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
28 changes: 28 additions & 0 deletions .github/workflows/callable-qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -288,3 +288,31 @@ jobs:
composer config minimum-stability dev
export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/${{ github.repository }}/flex/pull-${{ github.event.number }}/index.json
composer require -W --ansi $PACKAGES
EXIT_CODE=$?

if [[ EXIT_CODE -eq 2 ]]; then
echo -e "\n#\n#\n# You can ignore this error if your package does not support Symfony 6\n#\n#\n#\n"
fi

exit $EXIT_CODE

-
name: Setup PHP 8.2
if: "always() && steps.config.outcome == 'success'"
uses: shivammathur/setup-php@v2
with:
coverage: "none"
php-version: "8.2"

-
name: Create-project with skeleton ^7
if: "always() && steps.config.outcome == 'success'"
run: |
set -x
php -v
composer create-project --ansi "symfony/skeleton:^7" v7
cd v7
composer config extra.symfony.allow-contrib ${{ inputs.contrib && 'true' || 'false' }}
composer config minimum-stability dev
export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/${{ github.repository }}/flex/pull-${{ github.event.number }}/index.json
composer require -W --ansi $PACKAGES
Loading