Skip to content

Commit 071e9a6

Browse files
authored
Merge pull request #57 from matomo-org/github-action
Replace Travis.CI tests with GitHub action
2 parents c9e8d6e + 4a769ee commit 071e9a6

File tree

3 files changed

+49
-120
lines changed

3 files changed

+49
-120
lines changed

.github/workflows/matomo-tests.yml

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
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="SecurityInfo" --php-versions="7.2,8.1"
5+
6+
name: Plugin SecurityInfo 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+
UI:
34+
runs-on: ubuntu-20.04
35+
steps:
36+
- uses: actions/checkout@v3
37+
with:
38+
lfs: true
39+
persist-credentials: false
40+
- name: running tests
41+
uses: matomo-org/github-action-tests@main
42+
with:
43+
plugin-name: 'SecurityInfo'
44+
matomo-test-branch: 'maximum_supported_matomo'
45+
test-type: 'UI'
46+
php-version: '7.2'
47+
node-version: '16'
48+
artifacts-pass: ${{ secrets.ARTIFACTS_PASS }}
49+
upload-artifacts: true

.travis.yml

-120
This file was deleted.
Loading

0 commit comments

Comments
 (0)