IBX-8726: Added support for IsBookmarked criterion #247
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: | |
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@v3 | |
- name: Setup PHP Action | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 7.4 | |
coverage: none | |
- name: Add composer dev dependency on ibexa/core | |
run: | | |
composer require "ibexa/core:dev-ibx-8726-added-is-bookmarked-criterion as 4.6.x-dev" | |
- uses: ramsey/composer-install@v2 | |
with: | |
dependency-versions: highest | |
- name: Init Solr | |
run: ./.github/init_solr.sh | |
- name: Run integration test suite | |
run: composer test-integration-solr |