forked from VividWeb/zoomer
-
Notifications
You must be signed in to change notification settings - Fork 0
68 lines (64 loc) · 1.52 KB
/
checks.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: Checks
on:
push:
branches:
- main
tags-ignore:
- "**"
pull_request:
branches:
- main
jobs:
check-syntax:
name: PHP ${{ matrix.php-version }} Syntax
runs-on: ubuntu-latest
strategy:
matrix:
php-version:
- "5.5"
- "8.4"
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: opcache
coverage: none
tools: none
-
name: Check syntax
uses: mlocati/check-php-syntax@v1
with:
fail-on-warnings: true
check-install:
name: Install on Concrete ${{ matrix.ccm-version }}
runs-on: ubuntu-latest
container: ghcr.io/concrete5-community/docker5:${{ matrix.ccm-version }}
strategy:
matrix:
ccm-version:
- 8.5.2
- "9.0"
- "9.1"
- "9.2"
- latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Prepare package
run: ln -s "$GITHUB_WORKSPACE" /app/packages/zoomer
-
name: Start services
run: ccm-service start db
-
name: Core info
run: sudo -u www-data /app/concrete/bin/concrete5 --ansi --no-interaction c5:info
-
name: Install package
run: sudo -u www-data /app/concrete/bin/concrete5 --ansi --no-interaction c5:package:install zoomer