diff --git a/examples/cakephp-mysql.yml b/examples/cakephp-mysql.yml index 8f32cd768..f55d82573 100644 --- a/examples/cakephp-mysql.yml +++ b/examples/cakephp-mysql.yml @@ -8,6 +8,8 @@ jobs: matrix: php-versions: ['7.4', '8.0', '8.1'] runs-on: ubuntu-latest + + # Docs: https://docs.github.com/en/actions/using-containerized-services services: mysql: image: mysql:latest @@ -38,8 +40,10 @@ jobs: extensions: mbstring, intl, redis, pdo_mysql coverage: pcov - - name: Start mysql service - run: sudo systemctl start mysql + # Local MySQL service in GitHub hosted environments is disabled by default. + # If you are using it instead of service containers, make sure you start it. + # - name: Start mysql service + # run: sudo systemctl start mysql.service - name: Get composer cache directory id: composer-cache diff --git a/examples/cakephp-postgres.yml b/examples/cakephp-postgres.yml index b72694e68..04cbbc910 100644 --- a/examples/cakephp-postgres.yml +++ b/examples/cakephp-postgres.yml @@ -8,6 +8,8 @@ jobs: matrix: php-versions: ['7.4', '8.0', '8.1'] runs-on: ubuntu-latest + + # Docs: https://docs.github.com/en/actions/using-containerized-services services: postgres: image: postgres:latest @@ -38,6 +40,11 @@ jobs: extensions: mbstring, intl, redis, pdo_pgsql coverage: pcov + # Local PostgreSQL service in GitHub hosted environments is disabled by default. + # If you are using it instead of service containers, make sure you start it. + # - name: Start postgresql service + # run: sudo systemctl start postgresql.service + - name: Get composer cache directory id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" @@ -103,6 +110,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 + # Docs: https://github.com/shivammathur/setup-php - name: Setup PHP uses: shivammathur/setup-php@v2 with: diff --git a/examples/laravel-mysql.yml b/examples/laravel-mysql.yml index 559eac7a7..ab92596f3 100644 --- a/examples/laravel-mysql.yml +++ b/examples/laravel-mysql.yml @@ -12,7 +12,9 @@ jobs: BROADCAST_DRIVER: log CACHE_DRIVER: redis QUEUE_CONNECTION: redis - SESSION_DRIVER: redis + SESSION_DRIVER: redis + + # Docs: https://docs.github.com/en/actions/using-containerized-services services: mysql: image: mysql:latest @@ -45,8 +47,10 @@ jobs: extensions: mbstring, dom, fileinfo, mysql coverage: xdebug - - name: Start mysql service - run: sudo systemctl start mysql + # Local MySQL service in GitHub hosted environments is disabled by default. + # If you are using it instead of service containers, make sure you start it. + # - name: Start mysql service + # run: sudo systemctl start mysql.service - name: Get composer cache directory id: composer-cache diff --git a/examples/laravel-postgres.yml b/examples/laravel-postgres.yml index 913a1c232..59994e6d0 100644 --- a/examples/laravel-postgres.yml +++ b/examples/laravel-postgres.yml @@ -15,6 +15,8 @@ jobs: DB_PASSWORD: postgres DB_USERNAME: postgres DB_DATABASE: postgres + + # Docs: https://docs.github.com/en/actions/using-containerized-services services: postgres: image: postgres:latest @@ -47,6 +49,11 @@ jobs: extensions: mbstring, dom, fileinfo, pgsql coverage: xdebug + # Local PostgreSQL service in GitHub hosted environments is disabled by default. + # If you are using it instead of service containers, make sure you start it. + # - name: Start postgresql service + # run: sudo systemctl start postgresql.service + - name: Get composer cache directory id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" diff --git a/examples/lumen-mysql.yml b/examples/lumen-mysql.yml index deb3939d5..af89d7f97 100644 --- a/examples/lumen-mysql.yml +++ b/examples/lumen-mysql.yml @@ -13,6 +13,8 @@ jobs: CACHE_DRIVER: redis QUEUE_CONNECTION: redis SESSION_DRIVER: redis + + # Docs: https://docs.github.com/en/actions/using-containerized-services services: mysql: image: mysql:latest @@ -45,8 +47,10 @@ jobs: extensions: mbstring, dom, fileinfo, mysql coverage: xdebug - - name: Start mysql service - run: sudo systemctl start mysql + # Local MySQL service in GitHub hosted environments is disabled by default. + # If you are using it instead of service containers, make sure you start it. + # - name: Start mysql service + # run: sudo systemctl start mysql.service - name: Get composer cache directory id: composer-cache diff --git a/examples/lumen-postgres.yml b/examples/lumen-postgres.yml index 88ea9050e..fd3f17e7b 100644 --- a/examples/lumen-postgres.yml +++ b/examples/lumen-postgres.yml @@ -15,6 +15,8 @@ jobs: DB_PASSWORD: postgres DB_USERNAME: postgres DB_DATABASE: postgres + + # Docs: https://docs.github.com/en/actions/using-containerized-services services: postgres: image: postgres:latest @@ -47,6 +49,11 @@ jobs: extensions: mbstring, dom, fileinfo, pgsql coverage: xdebug + # Local PostgreSQL service in GitHub hosted environments is disabled by default. + # If you are using it instead of service containers, make sure you start it. + # - name: Start postgresql service + # run: sudo systemctl start postgresql.service + - name: Get composer cache directory id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" diff --git a/examples/phalcon-mysql.yml b/examples/phalcon-mysql.yml index c1812a27f..160d286ed 100644 --- a/examples/phalcon-mysql.yml +++ b/examples/phalcon-mysql.yml @@ -16,6 +16,8 @@ jobs: DB_PASSWORD: password CODECEPTION_URL: 127.0.0.1 CODECEPTION_PORT: 8888 + + # Docs: https://docs.github.com/en/actions/using-containerized-services services: mysql: image: mysql:latest @@ -45,8 +47,10 @@ jobs: extensions: mbstring, dom, zip, phalcon4, mysql coverage: xdebug - - name: Start mysql service - run: sudo systemctl start mysql + # Local MySQL service in GitHub hosted environments is disabled by default. + # If you are using it instead of service containers, make sure you start it. + # - name: Start mysql service + # run: sudo systemctl start mysql.service - name: Get composer cache directory id: composer-cache diff --git a/examples/phalcon-postgres.yml b/examples/phalcon-postgres.yml index 8937fd30e..987a2c728 100644 --- a/examples/phalcon-postgres.yml +++ b/examples/phalcon-postgres.yml @@ -17,6 +17,8 @@ jobs: CODECEPTION_URL: 127.0.0.1 CODECEPTION_PORT: 8888 DB_CONNECTION: pgsql + + # Docs: https://docs.github.com/en/actions/using-containerized-services services: postgres: image: postgres:latest @@ -46,6 +48,11 @@ jobs: extensions: mbstring, dom, zip, phalcon4, pgsql coverage: xdebug + # Local PostgreSQL service in GitHub hosted environments is disabled by default. + # If you are using it instead of service containers, make sure you start it. + # - name: Start postgresql service + # run: sudo systemctl start postgresql.service + - name: Get composer cache directory id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" diff --git a/examples/symfony-mysql.yml b/examples/symfony-mysql.yml index 3427d8a8f..5d176281f 100644 --- a/examples/symfony-mysql.yml +++ b/examples/symfony-mysql.yml @@ -5,6 +5,8 @@ jobs: symfony: name: Symfony (PHP ${{ matrix.php-versions }}) runs-on: ubuntu-latest + + # Docs: https://docs.github.com/en/actions/using-containerized-services services: mysql: image: mysql:latest @@ -32,8 +34,10 @@ jobs: extensions: mbstring, xml, ctype, iconv, intl, pdo_sqlite, mysql coverage: xdebug - - name: Start mysql service - run: sudo systemctl start mysql + # Local MySQL service in GitHub hosted environments is disabled by default. + # If you are using it instead of service containers, make sure you start it. + # - name: Start mysql service + # run: sudo systemctl start mysql.service - name: Get composer cache directory id: composer-cache diff --git a/examples/symfony-postgres.yml b/examples/symfony-postgres.yml index e8f0c3152..aec21a8d0 100644 --- a/examples/symfony-postgres.yml +++ b/examples/symfony-postgres.yml @@ -5,6 +5,8 @@ jobs: symfony: name: Symfony (PHP ${{ matrix.php-versions }}) runs-on: ubuntu-latest + + # Docs: https://docs.github.com/en/actions/using-containerized-services services: postgres: image: postgres:latest @@ -32,6 +34,11 @@ jobs: extensions: mbstring, xml, ctype, iconv, intl, pdo_sqlite, pgsql coverage: xdebug + # Local PostgreSQL service in GitHub hosted environments is disabled by default. + # If you are using it instead of service containers, make sure you start it. + # - name: Start postgresql service + # run: sudo systemctl start postgresql.service + - name: Get composer cache directory id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" diff --git a/examples/yii2-mysql.yml b/examples/yii2-mysql.yml index f4ea02ada..20a1584a8 100644 --- a/examples/yii2-mysql.yml +++ b/examples/yii2-mysql.yml @@ -11,6 +11,8 @@ jobs: TEST_DB_USERNAME: root TEST_DB_PASSWORD: yii DB_CHARSET: utf8 + + # Docs: https://docs.github.com/en/actions/using-containerized-services services: mysql: image: mysql:latest @@ -42,8 +44,10 @@ jobs: extensions: mbstring, intl, gd, imagick, zip, dom, mysql coverage: xdebug - - name: Start mysql service - run: sudo systemctl start mysql + # Local MySQL service in GitHub hosted environments is disabled by default. + # If you are using it instead of service containers, make sure you start it. + # - name: Start mysql service + # run: sudo systemctl start mysql.service - name: Get composer cache directory id: composer-cache diff --git a/examples/yii2-postgres.yml b/examples/yii2-postgres.yml index 01ecd5cc8..2348cbab0 100644 --- a/examples/yii2-postgres.yml +++ b/examples/yii2-postgres.yml @@ -11,6 +11,8 @@ jobs: TEST_DB_USERNAME: postgres TEST_DB_PASSWORD: postgres DB_CHARSET: utf8 + + # Docs: https://docs.github.com/en/actions/using-containerized-services services: postgres: image: postgres:latest @@ -42,6 +44,11 @@ jobs: extensions: mbstring, intl, gd, imagick, zip, dom, pgsql coverage: xdebug + # Local PostgreSQL service in GitHub hosted environments is disabled by default. + # If you are using it instead of service containers, make sure you start it. + # - name: Start postgresql service + # run: sudo systemctl start postgresql.service + - name: Get composer cache directory id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)"