Skip to content

SDS: For search, track EP_IS_NETWORK constant (#6050) #2044

SDS: For search, track EP_IS_NETWORK constant (#6050)

SDS: For search, track EP_IS_NETWORK constant (#6050) #2044

name: Coverage Report
on:
push:
branches:
- develop
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
unit-tests:
name: "WP ${{ matrix.config.wp }}, multisite: ${{ matrix.config.ms }}, JP: ${{ matrix.config.jp }}, PHP: ${{ matrix.config.php }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
config:
- { wp: latest, ms: 'no', jp: 'yes', php: '8.0' }
- { wp: latest, ms: 'yes', jp: 'yes', php: '8.0' }
services:
mysql:
image: mysql:8
ports:
- "3306:3306"
env:
MYSQL_ROOT_PASSWORD: wordpress
MYSQL_INITDB_SKIP_TZINFO: 1
MYSQL_USER: wordpress
MYSQL_PASSWORD: wordpress
MYSQL_DATABASE: wordpress_test
steps:
- name: Check out source code
uses: actions/checkout@v4.2.2
with:
submodules: recursive
- name: Prepare source code
uses: ./.github/actions/prepare-source
- name: Run tests
uses: ./.github/actions/run-wp-tests
with:
wordpress: ${{ matrix.config.wp }}
multisite: ${{ matrix.config.ms }}
jetpack: ${{ matrix.config.jp }}
php: ${{ matrix.config.php }}
coverage: 'yes'
codecov-token: ${{ secrets.CODECOV_TOKEN }}