Skip to content

Commit

Permalink
Issue CollaboraOnline#52: Replace matrix with extra step.
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronGilMartinez committed Nov 14, 2024
1 parent 3ff8909 commit 741f25a
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
fail-fast: true
matrix:
php: [8.1, 8.2, 8.3]
groupmedia: [3, 4]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -55,20 +54,17 @@ jobs:
- name: Composer install
run: |
docker-compose exec -T web composer config --merge --json "extra.patches" '{"drupal/group": {"Using a translatable string as a category for field type is deprecated - https://www.drupal.org/project/group/issues/3458530": "https://www.drupal.org/files/issues/2024-07-02/group-translate-string-as-category-is-deprecated_0.patch"}}'
docker-compose exec -T web composer require --dev cweagans/composer-patches drupal/groupmedia:~${{ matrix.groupmedia }}
docker-compose exec -T web composer require --dev cweagans/composer-patches
- name: Drupal site install
run: |
docker-compose exec -T web ./vendor/bin/run drupal:site-install
- name: PhpUnit
if: ${{ matrix.groupmedia != '3' }}
run: |
docker-compose exec -T web ./vendor/bin/phpunit -vvv --debug
docker-compose exec -T web ./vendor/bin/phpunit -vvv --debug
- name: PhpUnit
if: ${{ matrix.groupmedia == '3' }}
- name: PhpUnit - groupmedia 3
run: |
docker-compose exec -T web ./vendor/bin/phpunit -vvv --debug --testsuite "Collabora Online Group"
docker-compose exec -T web composer require --dev drupal/groupmedia:^3 -W
docker-compose exec -T web ./vendor/bin/phpunit -vvv --debug --testsuite "Collabora Online Group"

0 comments on commit 741f25a

Please sign in to comment.