|
9 | 9 | schedule: |
10 | 10 | - cron: "0 0 * * *" |
11 | 11 | env: |
12 | | - POSTGRES_USER: runner |
13 | 12 | POSTGRES_PASSWORD: "" |
14 | 13 | POSTGRES_DB: postgres |
15 | 14 |
|
|
24 | 23 | os: |
25 | 24 | - ubuntu-latest |
26 | 25 | - windows-latest |
| 26 | + env: |
| 27 | + POSTGRES_USER: ${{ matrix.os == 'windows-latest' && 'postgres' || 'runner' }} |
27 | 28 |
|
28 | 29 | name: "Run tests: ${{ matrix.os }}" |
29 | 30 |
|
|
35 | 36 | uses: shivammathur/setup-php@v2 |
36 | 37 | with: |
37 | 38 | php-version: ${{ matrix.php }} |
38 | | - extensions: dom, curl, libxml, mbstring, pcntl, fileinfo, pdo, sqlite, pdo_sqlite, pdo_mysql, pdo_pgsql intl, ftp, zip |
| 39 | + extensions: dom, curl, libxml, mbstring, pcntl, fileinfo, pdo, sqlite, pdo_sqlite, pdo_mysql, pdo_pgsql, intl, ftp, zip |
39 | 40 | coverage: pcov |
40 | 41 |
|
41 | 42 | - name: Setup Bun |
|
67 | 68 | stability: |
68 | 69 | - prefer-stable |
69 | 70 | - prefer-lowest |
70 | | - exclude: |
71 | | - - os: windows-latest |
72 | | - database: postgres |
| 71 | + env: |
| 72 | + POSTGRES_USER: ${{ matrix.os == 'windows-latest' && 'postgres' || 'runner' }} |
73 | 73 |
|
74 | 74 | name: "Run tests: PHP ${{ matrix.php }} - ${{ matrix.database }} - ${{ matrix.stability }} - ${{ matrix.os }}" |
75 | 75 |
|
|
81 | 81 | uses: shivammathur/setup-php@v2 |
82 | 82 | with: |
83 | 83 | php-version: ${{ matrix.php }} |
84 | | - extensions: dom, curl, libxml, mbstring, pcntl, fileinfo, pdo, sqlite, pdo_sqlite, pdo_mysql, intl, ftp, zip |
| 84 | + extensions: dom, curl, libxml, mbstring, pcntl, fileinfo, pdo, sqlite, pdo_sqlite, pdo_mysql, pdo_pgsql, intl, ftp, zip |
85 | 85 | coverage: pcov |
86 | 86 |
|
87 | 87 | - name: Setup problem matchers |
|
0 commit comments