Skip to content

Fix lemmatizer files restore after wrong backup #620

Fix lemmatizer files restore after wrong backup

Fix lemmatizer files restore after wrong backup #620

Workflow file for this run

name: tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
name: Run unit tests
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run tests inside docker container
uses: addnab/docker-run-action@v3
with:
image: ghcr.io/manticoresoftware/manticoresearch:test-kit-latest
options: -v ${{ github.workspace }}:/src --cap-add SYS_ADMIN --security-opt apparmor=unconfined
run: |
# the entrypoint is rewritten so we need to launch searchd manually
searchd
cd /src
composer install --prefer-dist
git clone https://github.com/manticoresoftware/phar_builder.git
bin/test
codestyle:
name: PHPCS validation
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run PHPCS to check following the standard
uses: addnab/docker-run-action@v3
with:
image: ghcr.io/manticoresoftware/manticoresearch:test-kit-latest
options: -v ${{ github.workspace }}:/src
run: |
cd /src
composer install --prefer-dist
bin/codestyle
codeanalyze:
name: PHPStan static analysis
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run PHPStan to analyze the codebase
uses: addnab/docker-run-action@v3
with:
image: ghcr.io/manticoresoftware/manticoresearch:test-kit-latest
options: -v ${{ github.workspace }}:/src
run: |
cd /src
composer install --prefer-dist
bin/codeanalyze