-
-
Notifications
You must be signed in to change notification settings - Fork 4
43 lines (36 loc) · 1.24 KB
/
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
name: Tests
on:
push:
paths-ignore:
- '*.md'
jobs:
tests:
strategy:
fail-fast: false
matrix:
#php: ['7.2', '7.4', '8.0', '8.2', '8.3']
php: ['7.2']
matomo-target: ['minimum_required_matomo', 'maximum_supported_matomo']
#node: ['12.x', '20.x']
node: ['12.x']
runs-on: ubuntu-latest
permissions:
checks: write
pull-requests: write
contents: read
name: Tests with PHP '${{ matrix.php }}', Node.js '${{ matrix.node }}' and Matomo target '${{ matrix.matomo-target }}'
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
lfs: true
persist-credentials: false
- name: Run plugin tests
uses: matomo-org/github-action-tests@main
with:
plugin-name: 'PerformanceAudit'
test-type: 'PluginTests'
php-version: ${{ matrix.php }}
matomo-test-branch: ${{ matrix.matomo-target }}
node-version: ${{ matrix.node }}
mysql-service: true