Fix: assert tooltip exists before removing it #5041
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: "🎳 Unit tests" | |
on: | |
push: | |
branches: | |
- master | |
- release_3_* | |
pull_request: | |
branches: | |
- master | |
- release_3_* | |
jobs: | |
php-tests: | |
name: "🐘 PHP-Unit" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php-version: [ | |
'7.4', | |
'8.0', | |
'8.1', | |
] | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Setup PHP with tools | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-version }} | |
tools: php-cs-fixer, phpunit | |
- name: Running tests | |
run: make tests | |
js-tests: | |
name: "🟨 JS-Unit" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
- name: Install dependencies | |
working-directory: tests/js-units | |
run: npm install | |
- name: Running tests | |
working-directory: tests/js-units | |
run: npm run js:test |