Matomo Tests #6956
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Action for running tests | |
# This file has been automatically created. | |
# To recreate it you can run this command | |
# ./console generate:test-action --php-versions="7.2,8.2" | |
name: Matomo Tests | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
push: | |
branches: | |
- '**.x-dev' | |
- 'next_release' | |
workflow_dispatch: | |
workflow_call: | |
inputs: | |
is_preview: | |
type: boolean | |
required: false | |
default: false | |
ref: | |
type: string | |
required: false | |
default: '' | |
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-${{ inputs.ref || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
UI: | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: ${{ inputs.is_preview == true }} | |
steps: | |
- name: Set system date and time | |
run: | | |
sudo date --set="2024-11-01 12:00:00" | |
- name: Disable SSL verification for npm | |
run: | | |
export NODE_TLS_REJECT_UNAUTHORIZED=0 | |
- uses: actions/checkout@v4 | |
with: | |
lfs: true | |
persist-credentials: false | |
submodules: true | |
path: matomo | |
ref: ${{ inputs.ref || github.ref }} | |
- name: running tests | |
uses: matomo-org/github-action-tests@main | |
with: | |
plugin-name: 'Overlay' | |
test-type: 'UI' | |
php-version: '7.2' | |
node-version: '16' | |
redis-service: true | |
artifacts-pass: ${{ secrets.ARTIFACTS_PASS }} | |
upload-artifacts: true | |
testomatio: ${{ secrets.TESTOMATIO }} |