|
1 | 1 | name: Integration Tests (Windows) |
2 | 2 |
|
3 | 3 | on: |
| 4 | + workflow_dispatch: |
4 | 5 | schedule: |
5 | 6 | - cron: '0 8 * * *' |
| 7 | +env: |
| 8 | + POSTGRES_USER: runner |
| 9 | + POSTGRES_PASSWORD: "" |
| 10 | + POSTGRES_DB: postgres |
6 | 11 |
|
7 | 12 | jobs: |
8 | 13 | vitest: |
|
14 | 19 | - 8.4 |
15 | 20 | os: |
16 | 21 | - windows-latest |
| 22 | + env: |
| 23 | + POSTGRES_USER: ${{ matrix.os == 'windows-latest' && 'postgres' || 'runner' }} |
17 | 24 |
|
18 | 25 | name: "Run tests: ${{ matrix.os }}" |
19 | 26 |
|
|
25 | 32 | uses: shivammathur/setup-php@v2 |
26 | 33 | with: |
27 | 34 | php-version: ${{ matrix.php }} |
28 | | - extensions: dom, curl, libxml, mbstring, pcntl, fileinfo, pdo, sqlite, pdo_sqlite, pdo_mysql, pdo_pgsql intl, ftp, zip |
| 35 | + extensions: dom, curl, libxml, mbstring, pcntl, fileinfo, pdo, sqlite, pdo_sqlite, pdo_mysql, pdo_pgsql, intl, ftp, zip |
29 | 36 | coverage: pcov |
30 | 37 |
|
31 | 38 | - name: Setup Bun |
|
52 | 59 | database: |
53 | 60 | - sqlite |
54 | 61 | - mysql |
| 62 | + - postgres |
55 | 63 | stability: |
56 | 64 | - prefer-stable |
| 65 | + env: |
| 66 | + POSTGRES_USER: ${{ matrix.os == 'windows-latest' && 'postgres' || 'runner' }} |
57 | 67 |
|
58 | 68 | name: "Run tests: PHP ${{ matrix.php }} - ${{ matrix.database }} - ${{ matrix.stability }} - ${{ matrix.os }}" |
59 | 69 |
|
|
65 | 75 | uses: shivammathur/setup-php@v2 |
66 | 76 | with: |
67 | 77 | php-version: ${{ matrix.php }} |
68 | | - extensions: dom, curl, libxml, mbstring, pcntl, fileinfo, pdo, sqlite, pdo_sqlite, pdo_mysql, intl, ftp, zip |
| 78 | + extensions: dom, curl, libxml, mbstring, pcntl, fileinfo, pdo, sqlite, pdo_sqlite, pdo_mysql, pdo_pgsql, intl, ftp, zip |
69 | 79 | coverage: pcov |
70 | 80 |
|
71 | 81 | - name: Setup problem matchers |
|
0 commit comments