-
Notifications
You must be signed in to change notification settings - Fork 4
63 lines (54 loc) · 1.69 KB
/
Copy pathtest.yml
File metadata and controls
63 lines (54 loc) · 1.69 KB
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
name: Test
on:
pull_request:
branches: [main]
push:
branches: [main]
workflow_dispatch:
concurrency:
group: test-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: read
issues: write
pull-requests: write
jobs:
homeboy-lint:
name: Homeboy Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: Extra-Chill/homeboy-action@31e95050206332c4ebd36894387c980c99443ecf # v2.8.15
with:
# Pin homeboy core to 0.330.0: core 0.331.0+ (PR #11553) validates
# the `test.failures` sidecar as a JSON array, but the wordpress
# extension's wp-codebox adapter still emits an object sidecar.
# Remove this pin once the extension ships an array sidecar.
version: 0.330.0
commands: review lint
args: --extension wordpress
php-version: '8.2'
node-version: '24'
autofix: 'false'
homeboy-test:
name: Homeboy Test (PHP ${{ matrix.php-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-version: ['8.1', '8.2', '8.3', '8.4']
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: Extra-Chill/homeboy-action@31e95050206332c4ebd36894387c980c99443ecf # v2.8.15
with:
# Pin homeboy core to 0.330.0: see lint step for the rationale.
version: 0.330.0
commands: review test
args: --extension wordpress
php-version: ${{ matrix.php-version }}
node-version: '24'
autofix: 'false'