Clean up page_hits
table where date_hit
field is lower than --days-old.
#37
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: Continous Integration | |
on: | |
push: | |
branches: | |
- master | |
- 'MTC\-[0-9]+' | |
pull_request: | |
jobs: | |
integration: | |
name: Integration tests | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
php-version: [ 7.4, 8.0 ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup PHP Environment | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-version }} | |
- name: Install composer requirements. | |
run: composer install | |
- name: Check PHP CS | |
run: ./vendor/bin/php-cs-fixer fix --config .php-cs-fixer.php --dry-run --using-cache no --show-progress dots -v | |
- name: Test | |
run: ./vendor/bin/phpunit |