feat: Search for Node executable additionally in paths of PATH enviro… #122
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
name: Tests | |
on: | |
push: | |
paths-ignore: | |
- '*.md' | |
jobs: | |
tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
php: ['7.2', '7.4', '8.0', '8.3'] | |
matomo-target: ['minimum_required_matomo', 'maximum_supported_matomo'] | |
node: ['12.x', '20.x'] | |
runs-on: ubuntu-latest | |
permissions: | |
checks: write | |
pull-requests: write | |
contents: read | |
name: Tests w/ PHP ${{ matrix.php }}, Node.js ${{ matrix.node }}, Target Matomo '${{ 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 |