-
Notifications
You must be signed in to change notification settings - Fork 19
46 lines (44 loc) · 1.15 KB
/
unit-tests.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
41
42
43
44
45
46
name: CGL & unit tests
on:
push:
branches:
- '**'
- '!l10n_*'
pull_request:
branches:
- '**'
- '!l10n_*'
jobs:
unit-tests:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
php-version: [ "8.1", "8.2", "8.3" ]
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: intl, mbstring, json, zip, curl
tools: composer:v2
- run: composer update --no-interaction --no-progress
- run: composer show
- run: composer tests-for:ci
unit-tests-lowest:
runs-on: ubuntu-22.04
continue-on-error: true
strategy:
fail-fast: false
matrix:
php-version: [ "8.1", "8.2", "8.3" ]
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: intl, mbstring, json, zip, curl
tools: composer:v2
- run: composer update --no-interaction --prefer-lowest --no-progress
- run: composer show
- run: composer tests-for:ci