diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index d4747f06ab..28aba027d5 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -6,6 +6,7 @@ jobs: friendica: name: Friendica (PHP ${{ matrix.php-versions }}) runs-on: ubuntu-latest + services: mariadb: image: mariadb:latest @@ -15,21 +16,25 @@ jobs: MYSQL_PASSWORD: test MYSQL_USER: test ports: - - 3306/tcp + - 3306 options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 + redis: image: redis ports: - - 6379/tcp + - 6379 options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3 + memcached: image: memcached ports: - - 11211/tcp + - 11211 + strategy: fail-fast: false matrix: php-versions: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4'] + steps: - name: Checkout uses: actions/checkout@v4