fix(filter): normalize requiredFilters to array in Filter constructor #379
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [ master ] | |
| paths-ignore: | |
| - README-source.adoc | |
| - README.adoc | |
| - .github/copilot-instructions-source.adoc | |
| - .github/copilot-instructions.md | |
| pull_request: | |
| branches: [ master ] | |
| paths-ignore: | |
| - README-source.adoc | |
| - README.adoc | |
| - .github/copilot-instructions-source.adoc | |
| - .github/copilot-instructions.md | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-22.04 | |
| continue-on-error: ${{ matrix.experimental }} | |
| strategy: | |
| matrix: | |
| include: | |
| - mediawiki_version: '1.43' | |
| smw_version: 6.0.1 | |
| srf_version: 5.2.0 | |
| php_version: 8.2 | |
| al_version: 0.6.3 | |
| database_type: mysql | |
| database_image: "mariadb:11.2" | |
| coverage: true | |
| experimental: false | |
| - mediawiki_version: '1.43' | |
| smw_version: 7.0.0 | |
| # SRF 5.2.0 is incompatible with SMW 7 (missing return type on getParamDefinitions); use dev-master until a new SRF release is available | |
| srf_version: dev-master | |
| php_version: 8.3 | |
| al_version: 0.6.3 | |
| database_type: mysql | |
| database_image: "mysql:8" | |
| coverage: false | |
| # SMW 7 triggers "Error 1137: Can't reopen table" on MySQL 8; experimental until fixed upstream | |
| experimental: true | |
| - mediawiki_version: '1.43' | |
| smw_version: 7.0.0 | |
| # SRF 5.2.0 is incompatible with SMW 7 (missing return type on getParamDefinitions); use dev-master until a new SRF release is available | |
| srf_version: dev-master | |
| php_version: 8.3 | |
| al_version: 0.6.3 | |
| database_type: mysql | |
| database_image: "mariadb:11.2" | |
| coverage: false | |
| experimental: false | |
| - mediawiki_version: '1.45' | |
| smw_version: dev-master | |
| srf_version: dev-master | |
| php_version: 8.4 | |
| al_version: 0.7 | |
| database_type: mysql | |
| database_image: "mariadb:11.8" | |
| coverage: false | |
| experimental: true | |
| env: | |
| MW_VERSION: ${{ matrix.mediawiki_version }} | |
| SMW_VERSION: ${{ matrix.smw_version }} | |
| SRF_VERSION: ${{ matrix.srf_version }} | |
| PHP_VERSION: ${{ matrix.php_version }} | |
| AL_VERSION: ${{ matrix.al_version }} | |
| DB_TYPE: ${{ matrix.database_type }} | |
| DB_IMAGE: ${{ matrix.database_image }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: Update submodules | |
| run: git submodule update --init --remote | |
| - name: Run tests | |
| run: make ci | |
| if: matrix.coverage == false | |
| - name: Run tests with coverage | |
| run: make ci-coverage | |
| if: matrix.coverage == true | |
| - name: Upload code coverage | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: coverage/php/coverage.xml,coverage/js/clover.xml | |
| if: matrix.coverage == true |