Skip to content

Commit

Permalink
fix: CI (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
tchapi committed Sep 2, 2023
1 parent 98bb4d8 commit 8362dcb
Showing 1 changed file with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,28 @@ jobs:
docker-php-ext-configure intl
docker-php-ext-configure gd
docker-php-ext-install pdo pdo_mysql intl gd
- name: Install Composer
run: wget -qO - https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --quiet
- name: Remove composer.lock
run: rm -rf composer.lock
- name: Install lowest dependencies with Composer
# - name: Install Composer
# run: wget -qO - https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --quiet
- name: Install dependencies
if: matrix.dependencies == 'lowest'
run: composer update --no-progress --no-interaction --prefer-stable --prefer-lowest --ansi
- name: Install highest dependencies with Composer
uses: php-actions/composer@v6
with:
command: update
php_version: "${{ matrix.php }}"
args: " --no-progress --no-interaction --ansi --prefer-stable --prefer-lowest"
- name: Install dependencies
if: matrix.dependencies == 'highest'
run: composer update --no-progress --no-interaction --ansi
uses: php-actions/composer@v6
with:
command: update
php_version: "${{ matrix.php }}"
args: " --no-progress --no-interaction --ansi"
# - name: Install lowest dependencies with Composer
# if: matrix.dependencies == 'lowest'
# run: composer update --no-progress --no-interaction --prefer-stable --prefer-lowest --ansi
# - name: Install highest dependencies with Composer
# if: matrix.dependencies == 'highest'
# run: composer update --no-progress --no-interaction --ansi
- name: Migrate database
run: bin/console doctrine:schema:update --force --no-interaction
- name: Run tests with PHPUnit
Expand Down

0 comments on commit 8362dcb

Please sign in to comment.