Install Sphinx search in Docker #7
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: Build Process for PHP 8 | |
on: | |
push: | |
branches: | |
- php8 | |
pull_request: | |
branches: | |
- php8 | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.2' | |
- name: Install Composer dependencies | |
run: composer install | |
- name: Install Node dependencies | |
run: cd htdocs/js/vendor; yarn install | |
- run: cd ../../.. | |
- run: find htdocs/*.php -print0 | xargs -0 -n1 -P8 php -l | |
- name: Set up Docker | |
uses: docker/setup-buildx-action@v1 | |
- name: Run Docker | |
run: ./docker-run.sh | |
- name: Run tests | |
run: docker exec -i rs_web /var/www/deploy/tests/run-all.sh | |
- name: Stop Docker | |
run: ./docker-stop.sh |