Skip to content

Commit d71f212

Browse files
committed
Merge branch '4.x-dev' into 5.x-dev
2 parents 8ebff58 + 0771998 commit d71f212

2 files changed

Lines changed: 53 additions & 139 deletions

File tree

.github/workflows/matomo-tests.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Action for running tests
2+
# This file has been automatically created.
3+
# To recreate it you can run this command
4+
# ./console generate:test-action --plugin="DeviceDetectorCache" --php-versions="7.2,8.1"
5+
6+
name: Plugin DeviceDetectorCache Tests
7+
8+
on:
9+
pull_request:
10+
types: [opened, synchronize]
11+
push:
12+
branches:
13+
- '**.x-dev'
14+
workflow_dispatch:
15+
16+
permissions:
17+
actions: read
18+
checks: none
19+
contents: read
20+
deployments: none
21+
issues: read
22+
packages: none
23+
pull-requests: read
24+
repository-projects: none
25+
security-events: none
26+
statuses: none
27+
28+
concurrency:
29+
group: php-${{ github.ref }}
30+
cancel-in-progress: true
31+
32+
jobs:
33+
PluginTests:
34+
runs-on: ubuntu-20.04
35+
strategy:
36+
fail-fast: false
37+
matrix:
38+
php: [ '7.2', '8.1' ]
39+
target: ['minimum_required_matomo', 'maximum_supported_matomo']
40+
steps:
41+
- uses: actions/checkout@v3
42+
with:
43+
lfs: true
44+
persist-credentials: false
45+
- name: Run tests
46+
uses: matomo-org/github-action-tests@main
47+
with:
48+
plugin-name: 'DeviceDetectorCache'
49+
php-version: ${{ matrix.php }}
50+
test-type: 'PluginTests'
51+
matomo-test-branch: ${{ matrix.target }}
52+
artifacts-pass: ${{ secrets.ARTIFACTS_PASS }}
53+
upload-artifacts: ${{ matrix.php == '7.2' && matrix.target == 'maximum_supported_matomo' }}

.travis.yml

Lines changed: 0 additions & 139 deletions
This file was deleted.

0 commit comments

Comments
 (0)