update datatables - Listwidget prefix parameter #703
Workflow file for this run
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 ] | |
| pull_request: | |
| branches: [ master ] | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-22.04 | |
| continue-on-error: ${{ matrix.experimental }} | |
| strategy: | |
| matrix: | |
| include: | |
| # SMW 6.0.1 has a bug where #ask returns empty results in the prepareContentForEdit | |
| # context used by JSONScript parser-type tests. Upgraded to dev-master as workaround; | |
| # pin to 7.x once released. See: https://github.com/SemanticMediaWiki/SemanticResultFormats/pull/1020 | |
| - mediawiki_version: '1.43' | |
| smw_version: dev-master | |
| php_version: 8.1 | |
| mm_version: 6.0.1 | |
| database_type: mysql | |
| database_image: "mariadb:11.2" | |
| coverage: false | |
| experimental: false | |
| - mediawiki_version: '1.43' | |
| smw_version: dev-master | |
| pf_version: 5.9 | |
| sfs_version: 4.0.0-beta | |
| php_version: 8.3 | |
| mm_version: 6.0.2 | |
| database_type: mysql | |
| database_image: "mariadb:11.2" | |
| coverage: true | |
| experimental: false | |
| - mediawiki_version: '1.44' | |
| smw_version: dev-master | |
| php_version: 8.2 | |
| mm_version: 6.0.1 | |
| database_type: mysql | |
| database_image: "mariadb:11.2" | |
| coverage: false | |
| experimental: false | |
| - mediawiki_version: '1.45' | |
| smw_version: dev-master | |
| php_version: 8.3 | |
| mm_version: 6.0.1 | |
| database_type: mysql | |
| database_image: "mariadb:11.2" | |
| coverage: false | |
| experimental: false | |
| env: | |
| MW_VERSION: ${{ matrix.mediawiki_version }} | |
| SMW_VERSION: ${{ matrix.smw_version }} | |
| PF_VERSION: ${{ matrix.pf_version }} | |
| SFS_VERSION: ${{ matrix.sfs_version }} | |
| PHP_VERSION: ${{ matrix.php_version }} | |
| DB_TYPE: ${{ matrix.database_type }} | |
| DB_IMAGE: ${{ matrix.database_image }} | |
| MM_VERSION: ${{ matrix.mm_version }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| 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: Run Phan static analysis | |
| run: make install composer-phan | |
| if: matrix.coverage == true | |
| - name: Upload code coverage | |
| uses: codecov/codecov-action@v4 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: coverage/php/coverage.xml | |
| if: matrix.coverage == true |