Skip to content

IBX-8534: Changed typehint from abstract Criterion to CriterionInterface #276

IBX-8534: Changed typehint from abstract Criterion to CriterionInterface

IBX-8534: Changed typehint from abstract Criterion to CriterionInterface #276

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