Skip to content
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