]> git.mxchange.org Git - friendica.git/commitdiff
Try different port
authorArt4 <art4@wlabs.de>
Thu, 7 Nov 2024 13:47:02 +0000 (13:47 +0000)
committerArt4 <art4@wlabs.de>
Thu, 7 Nov 2024 13:47:02 +0000 (13:47 +0000)
.github/workflows/php.yml

index bf81a036c60dd234e87612da577749e146a45a6a..ed9c7bf3732bc0d49628698047ea91b513ba6b6e 100644 (file)
@@ -9,14 +9,14 @@ jobs:
 
     services:
       mariadb:
-        image: mariadb:11.1
+        image: mariadb:latest
         env:
           MYSQL_ALLOW_EMPTY_PASSWORD: true
           MYSQL_DATABASE: test
           MYSQL_PASSWORD: test
           MYSQL_USER: test
         ports:
-          - 3306/tcp
+          - 33306/tcp
         options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
 
       redis:
@@ -61,7 +61,7 @@ jobs:
 
       - name: Verify MariaDB connection
         env:
-          PORT: ${{ job.services.mariadb.ports[3306] }}
+          PORT: ${{ job.services.mariadb.ports[33306] }}
         run: |
           while ! mysqladmin ping -h"127.0.0.1" -P"$PORT" --silent; do
             sleep 1
@@ -69,7 +69,7 @@ jobs:
 
       - name: Setup MYSQL database
         env:
-          PORT: ${{ job.services.mariadb.ports[3306] }}
+          PORT: ${{ job.services.mariadb.ports[33306] }}
         run: |
           mysql -h"127.0.0.1" -P"$PORT" -utest -ptest test < database.sql
 
@@ -77,7 +77,7 @@ jobs:
         run: $(git rev-parse --show-toplevel)/bin/phpunit --configuration tests/phpunit.xml --coverage-clover clover.xml
         env:
           MYSQL_HOST: 127.0.0.1
-          MYSQL_PORT: ${{ job.services.mariadb.ports[3306] }}
+          MYSQL_PORT: ${{ job.services.mariadb.ports[33306] }}
           MYSQL_DATABASE: test
           MYSQL_PASSWORD: test
           MYSQL_USER: test