Add possibility to perform a search on all translations ignoring current language settings setup in the platform #272
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: Solr integration tests | |
on: | |
push: | |
branches: | |
- main | |
- '[0-9]+.[0-9]+' | |
pull_request: ~ | |
jobs: | |
solr-integration: | |
name: "Integration tests" | |
runs-on: "ubuntu-22.04" | |
strategy: | |
fail-fast: false | |
matrix: | |
php-version: | |
- '8.3' | |
solr-version: | |
- '7.7.3' | |
- '8.11.2' | |
cores-setup: | |
- 'dedicated' | |
- 'shared' | |
- 'single' | |
- 'cloud' | |
env: | |
CORES_SETUP: ${{ matrix.cores-setup }} | |
SOLR_VERSION: ${{ matrix.solr-version }} | |
steps: | |
- if: matrix.cores-setup == 'cloud' | |
name: "Set up Solr Cloud" | |
run: echo "SOLR_CLOUD=yes" >> $GITHUB_ENV | |
- if: matrix.cores-setup == 'single' | |
name: "Set up single core" | |
run: echo "SOLR_CORES=collection1" >> $GITHUB_ENV | |
- uses: actions/checkout@v4 | |
- name: Setup PHP Action | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-version }} | |
coverage: none | |
- uses: ramsey/composer-install@v3 | |
with: | |
dependency-versions: highest | |
- name: Init Solr | |
run: ./.github/init_solr.sh | |
- name: Run integration test suite | |
run: composer test-integration-solr |