Skip to content

fixed mobile search form for authenticated user #1061

fixed mobile search form for authenticated user

fixed mobile search form for authenticated user #1061

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
phpstan:
name: PHP Static Analysis
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v3
- name: Setup PHP 8.4 with increased memory
uses: shivammathur/setup-php@v2
with:
php-version: 8.4
ini-values: memory_limit=256M
- name: Install Composer dependencies (including dev)
uses: ramsey/composer-install@v2
- name: Run PHPStan
run: vendor/bin/phpstan analyse api controllers custom engine ui --no-progress --error-format=github
build:
name: Build and Test Matrix
runs-on: ${{ matrix.operating-system }}
needs: phpstan
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['8.2', '8.4']
steps:
- name: Checkout source
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
ini-values: date.timezone="Europe/London"
- name: Setup Apache
uses: thunder/apache-shiva-php-action@v1
with:
php-version: ${{ matrix.php-versions }}
site-directory: $GITHUB_WORKSPACE
http-port: 8080
- name: Install Composer dependencies
uses: ramsey/composer-install@v2
with:
composer-options: "--no-dev"
- name: Create configuration
run: |
cp config/config.example.php config/config.php
sed -i -e "s,'pass' => '','pass' => 'root',g" config/config.php
printf "[client]\nuser=root\npassword=root\n" > ~/.my.cnf
- name: Setup database
run: |
sudo systemctl start mysql.service
mysql -e 'CREATE DATABASE zookeeper'
mysql zookeeper < db/zkdbSchema.sql
mysql zookeeper < db/categories.sql
mysql zookeeper < db/chartemail.sql
mysql zookeeper < db/bootstrapUser.sql
- name: Validate
run: php zk validate url=http://127.0.0.1:8080/