Jordi Boggiano 1 rok temu
rodzic
commit
5e3d583b22
1 zmienionych plików z 1 dodań i 25 usunięć
  1. 1 25
      .github/workflows/continuous-integration.yml

+ 1 - 25
.github/workflows/continuous-integration.yml

@@ -68,7 +68,6 @@ jobs:
       - name: "Change dependencies"
         run: |
           composer require --no-update --no-interaction --dev elasticsearch/elasticsearch:^7
-          composer config --no-plugins allow-plugins.ocramius/package-versions true
 
       - uses: "ramsey/composer-install@v3"
         with:
@@ -78,14 +77,6 @@ jobs:
       - name: "Run tests"
         run: "composer exec phpunit -- --exclude-group Elasticsearch,Elastica"
 
-      - name: "Run tests with psr/log 3"
-        if: "contains(matrix.dependencies, 'highest') && matrix.php-version >= '8.0'"
-        run: |
-          composer remove --no-update --dev graylog2/gelf-php ruflin/elastica elasticsearch/elasticsearch rollbar/rollbar
-          composer require --no-update psr/log:^3
-          composer update ${{ matrix.composer-options }}
-          composer exec phpunit -- --exclude-group Elasticsearch,Elastica
-
   tests-es-7:
     name: "CI with ES ${{ matrix.es-version }} on PHP ${{ matrix.php-version }}"
 
@@ -139,10 +130,6 @@ jobs:
       - name: "Change dependencies"
         run: "composer require --no-update --no-interaction --dev elasticsearch/elasticsearch:^${{ matrix.es-version }}"
 
-      - name: "Allow composer plugin to run"
-        if: "matrix.php-version == '7.4' && matrix.dependencies == 'lowest'"
-        run: "composer config allow-plugins.ocramius/package-versions true"
-
       - uses: "ramsey/composer-install@v3"
         with:
           dependency-versions: "${{ matrix.dependencies }}"
@@ -212,11 +199,7 @@ jobs:
       - name: "Change dependencies"
         run: |
           composer remove --no-update --dev graylog2/gelf-php ruflin/elastica elasticsearch/elasticsearch rollbar/rollbar
-          composer require --no-update --no-interaction --dev elasticsearch/elasticsearch:^8
-
-      - name: "Allow composer plugin to run"
-        if: "matrix.php-version == '7.4' && matrix.dependencies == 'lowest'"
-        run: "composer config allow-plugins.ocramius/package-versions true"
+          composer require --no-update --no-interaction --dev elasticsearch/elasticsearch:^8 ruflin/elastica:^8
 
       - uses: "ramsey/composer-install@v3"
         with:
@@ -224,10 +207,3 @@ jobs:
 
       - name: "Run tests"
         run: "composer exec phpunit -- --group Elasticsearch,Elastica"
-
-      - name: "Run tests with psr/log 3"
-        if: "contains(matrix.dependencies, 'highest') && matrix.php-version >= '8.0'"
-        run: |
-          composer require --no-update psr/log:^3
-          composer update -W
-          composer exec phpunit -- --group Elasticsearch,Elastica