-
-
Notifications
You must be signed in to change notification settings - Fork 158
40 lines (33 loc) · 1.13 KB
/
windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Windows
on:
workflow_dispatch: ~
schedule:
- cron: 0 13 * * 1-5
permissions: read-all
jobs:
windows:
name: Contao ${{ matrix.contao }}
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
contao: [4.13, 5.3, 5.x]
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2 # not all packages are compatible with PHP 8.3 yet
extensions: dom, fileinfo, filter, gd, hash, intl, json, mbstring, mysqli, pcre, pdo_mysql, zlib
ini-values: memory_limit=1G
coverage: none
- name: Adjust the Git autocrlf setting
run: git config --global core.autocrlf false
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ matrix.contao }}
show-progress: false
- name: Install Contao
uses: ramsey/composer-install@v3
- name: Run the unit tests
run: vendor/bin/phpunit.bat