Fix bug on remove data #1761
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 Checks | |
on: | |
pull_request: | |
jobs: | |
unittests: | |
strategy: | |
matrix: | |
php-version: [ '7.2', '8.0' ] | |
fail-fast: false | |
name: PHPUnit | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
# test the lowest version, to make sure checks pass on it | |
php-version: ${{ matrix.php-version }} | |
extensions: json, mbstring, pdo, curl, pdo_sqlite | |
coverage: none | |
- name: Initialise | |
run: | | |
sudo composer self-update -q | |
- name: Install dependencies | |
run: | | |
sudo COMPOSER_MEMORY_LIMIT=-1 COMPOSER_PROCESS_TIMEOUT=60 composer update --prefer-dist --no-progress --no-scripts | |
- name: run PHP Unit | |
run: ./vendor/bin/phpunit |