Skip to content

Commit

Permalink
Merge pull request #32 from innocraft/github-action
Browse files Browse the repository at this point in the history
Replace Travis.CI tests with GitHub action
  • Loading branch information
snake14 authored Jan 31, 2023
2 parents 4a210c4 + 21875bc commit 3d4a70d
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 120 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/matomo-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Action for running tests
# This file has been automatically created.
# To recreate it you can run this command
# ./console generate:test-action --plugin="JsTrackerCustom" --php-versions="7.2,8.1" --protect-artifacts

name: Plugin JsTrackerCustom Tests

on:
pull_request:
types: [opened, synchronize]
push:
branches:
- '**.x-dev'
workflow_dispatch:

permissions:
actions: read
checks: none
contents: read
deployments: none
issues: read
packages: none
pull-requests: read
repository-projects: none
security-events: none
statuses: none

concurrency:
group: php-${{ github.ref }}
cancel-in-progress: true

jobs:
UI:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
lfs: true
persist-credentials: false
- name: running tests
uses: matomo-org/github-action-tests@main
with:
plugin-name: 'JsTrackerCustom'
matomo-test-branch: 'maximum_supported_matomo'
test-type: 'UI'
php-version: '7.2'
node-version: '16'
artifacts-pass: ${{ secrets.ARTIFACTS_PASS }}
upload-artifacts: true
artifacts-protected: true
120 changes: 0 additions & 120 deletions .travis.yml

This file was deleted.

Binary file modified tests/UI/expected-screenshots/CustomJs_manage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3d4a70d

Please sign in to comment.