-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (30 loc) · 987 Bytes
/
ci.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
name: "Continuous Integration"
on:
push:
jobs:
tests:
strategy:
fail-fast: false
matrix:
include:
- operating-system: 'ubuntu-latest'
silverstripe-version: '5.0'
php-version: '8.1'
- operating-system: 'ubuntu-latest'
silverstripe-version: '4.0'
php-version: '8.0'
- operating-system: 'ubuntu-latest'
silverstripe-version: '4.0'
php-version: '7.4'
name: SS ${{ matrix.silverstripe-version }}, PHP ${{ matrix.php-version }}
runs-on: ${{ matrix.operating-system }}
steps:
- uses: actions/checkout@v3
- uses: php-actions/composer@v6
with:
command: update --with silverstripe/framework:^${{ matrix.silverstripe-version }}
php_version: ${{ matrix.php-version }}
php_extensions: intl
- run: |
./vendor/bin/phpunit -c phpunit.xml.dist \
--coverage-clover ./coverage.xml