forked from InvoicePlane/InvoicePlane
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (31 loc) · 1018 Bytes
/
test-php.yml
File metadata and controls
39 lines (31 loc) · 1018 Bytes
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
name: PHP Testing
on:
pull_request:
branches:
- development
jobs:
run:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['8.1']
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: bcmath, dom, exif, gd, imagick, imap, intl, mysqli, pdo_mysql, redis, soap, xdebug, xml, xsl, zip
coverage: none
cache: composer
- name: Show PHP and Composer Version
run: |
php -v
composer --version
- name: Validate composer.json and composer.lock
run: composer validate --strict
- name: Install Dependencies
run: composer install --prefer-dist --no-progress --no-suggest --no-interaction