/
githubmirror
/
framework
Обзор
Документация
Войти
/
githubmirror
/
framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
13.x
.github/workflows/databases.yml
307 строк
8 KB
dependabot[bot]
Bump actions/checkout from 7.0.0 to 7.0.1 in the github-actions group (#60900)
27 июл 2026, 11:56
Не верифицирован
27 июл 2026, 11:56
1ada28e
Код
Авторство
О чём код?
name: databases on: push: branches: - master - '*.x' pull_request: permissions: contents: read jobs: mysql_57: runs-on: ubuntu-24.04 timeout-minutes: 5 services: mysql: image: mysql:5.7 env: MYSQL_ALLOW_EMPTY_PASSWORD: yes MYSQL_DATABASE: laravel ports: - 3306:3306 options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 name: MySQL 5.7 steps: - name: Checkout code uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Setup PHP project uses: ./.github/actions/setup-php-project with: extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, pdo_mysql, :php-psr - name: Execute tests run: vendor/bin/phpunit tests/Integration/Database env: DB_CONNECTION: mysql DB_COLLATION: utf8mb4_unicode_ci mysql_8: runs-on: ubuntu-24.04 timeout-minutes: 5 services: mysql: image: mysql:8 env: MYSQL_ALLOW_EMPTY_PASSWORD: yes MYSQL_DATABASE: laravel ports: - 3306:3306 options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 name: MySQL 8 steps: - name: Checkout code uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Setup PHP project uses: ./.github/actions/setup-php-project with: extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, pdo_mysql, :php-psr - name: Execute tests run: vendor/bin/phpunit tests/Integration/Database env: DB_CONNECTION: mysql mariadb: runs-on: ubuntu-24.04 timeout-minutes: 5 services: mariadb: image: mariadb:10 env: MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: yes MARIADB_DATABASE: laravel ports: - 3306:3306 options: --health-cmd="healthcheck.sh --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3 name: MariaDB 10 steps: - name: Checkout code uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Setup PHP project uses: ./.github/actions/setup-php-project with: extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, pdo_mysql, :php-psr - name: Execute tests run: vendor/bin/phpunit tests/Integration/Database env: DB_CONNECTION: mariadb pgsql_18: runs-on: ubuntu-24.04 timeout-minutes: 5 services: postgresql: image: postgres:18 env: POSTGRES_DB: laravel POSTGRES_USER: forge POSTGRES_PASSWORD: password ports: - 5432:5432 options: --health-cmd=pg_isready --health-interval=10s --health-timeout=5s --health-retries=3 name: PostgreSQL 18 steps: - name: Checkout code uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Setup PHP project uses: ./.github/actions/setup-php-project with: extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, pdo_pgsql, :php-psr - name: Execute tests run: vendor/bin/phpunit tests/Integration/Database env: DB_CONNECTION: pgsql DB_USERNAME: forge DB_PASSWORD: password pgsql_14: runs-on: ubuntu-24.04 timeout-minutes: 5 services: postgresql: image: postgres:14 env: POSTGRES_DB: laravel POSTGRES_USER: forge POSTGRES_PASSWORD: password ports: - 5432:5432 options: --health-cmd=pg_isready --health-interval=10s --health-timeout=5s --health-retries=3 name: PostgreSQL 14 steps: - name: Checkout code uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Setup PHP project uses: ./.github/actions/setup-php-project with: extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, pdo_pgsql, :php-psr - name: Execute tests run: vendor/bin/phpunit tests/Integration/Database env: DB_CONNECTION: pgsql DB_USERNAME: forge DB_PASSWORD: password pgsql_10: runs-on: ubuntu-24.04 timeout-minutes: 5 services: postgresql: image: postgres:10 env: POSTGRES_DB: laravel POSTGRES_USER: forge POSTGRES_PASSWORD: password ports: - 5432:5432 options: --health-cmd=pg_isready --health-interval=10s --health-timeout=5s --health-retries=3 name: PostgreSQL 10 steps: - name: Checkout code uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Setup PHP project uses: ./.github/actions/setup-php-project with: extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, pdo_pgsql, :php-psr - name: Execute tests run: vendor/bin/phpunit tests/Integration/Database env: DB_CONNECTION: pgsql DB_USERNAME: forge DB_PASSWORD: password mssql_2019: runs-on: ubuntu-22.04 timeout-minutes: 5 services: sqlsrv: image: mcr.microsoft.com/mssql/server:2019-latest env: ACCEPT_EULA: Y SA_PASSWORD: Forge123 ports: - 1433:1433 name: SQL Server 2019 steps: - name: Checkout code uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Setup PHP project uses: ./.github/actions/setup-php-project with: extensions: dom, curl, libxml, mbstring, zip, pcntl, sqlsrv, pdo, pdo_sqlsrv, odbc, pdo_odbc, :php-psr - name: Execute tests run: vendor/bin/phpunit tests/Integration/Database env: DB_CONNECTION: sqlsrv DB_DATABASE: master DB_USERNAME: SA DB_PASSWORD: Forge123 mssql_2017: runs-on: ubuntu-22.04 timeout-minutes: 5 services: sqlsrv: image: mcr.microsoft.com/mssql/server:2017-latest env: ACCEPT_EULA: Y SA_PASSWORD: Forge123 ports: - 1433:1433 name: SQL Server 2017 steps: - name: Checkout code uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Setup PHP project uses: ./.github/actions/setup-php-project with: extensions: dom, curl, libxml, mbstring, zip, pcntl, sqlsrv, pdo, pdo_sqlsrv, odbc, pdo_odbc, :php-psr - name: Execute tests run: vendor/bin/phpunit tests/Integration/Database env: DB_CONNECTION: sqlsrv DB_DATABASE: master DB_USERNAME: SA DB_PASSWORD: Forge123 sqlite: runs-on: ubuntu-24.04 timeout-minutes: 5 name: SQLite steps: - name: Checkout code uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Setup PHP project uses: ./.github/actions/setup-php-project with: extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, :php-psr - name: Setup SQLite Database run: php vendor/bin/testbench package:create-sqlite-db - name: Execute tests run: vendor/bin/phpunit tests/Integration/Database/Sqlite env: DB_CONNECTION: sqlite