Make WordPress Core


Ignore:
Timestamp:
03/26/2021 03:54:07 PM (4 years ago)
Author:
desrosj
Message:

Revert [50599].

Unprops desrosj.

Location:
branches/5.7
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.7

  • branches/5.7/.github/workflows/test-coverage.yml

    r50599 r50600  
    22
    33on:
    4   # Verify
    5   push:
    6     branches:
    7       - master
    8       - trunk
    9     paths:
    10       - '.github/workflows/test-coverage.yml'
    11       - 'phpunit.xml.dist'
    12       - 'tests/phpunit/multisite.xml'
    134  # Once daily at 00:00 UTC.
    145  schedule:
    156    - cron: '0 0 * * *'
    16   # Allow manually triggering the workflow.
    17   workflow_dispatch:
    187
    198env:
     
    4938  # - Upload the multisite code coverage report to Codecov.io.
    5039  test-coverage-report:
    51     name: ${{ matrix.multisite && 'Multisite' || 'Single site' }} report
     40    name: Generate a code coverage report
    5241    runs-on: ubuntu-latest
    5342    if: ${{ github.repository == 'WordPress/wordpress-develop' }}
    54     strategy:
    55       fail-fast: false
    56       matrix:
    57         multisite: [ false, true ]
    5843
    5944    steps:
     
    6550      - name: Checkout repository
    6651        uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
     52
     53      - name: Checkout the WordPress Importer plugin
     54        run: svn checkout -r 2387243 https://plugins.svn.wordpress.org/wordpress-importer/trunk/ tests/phpunit/data/plugins/wordpress-importer
    6755
    6856      - name: Log debug information
     
    128116
    129117      - name: Run tests as a single site
    130         if: ${{ ! matrix.multisite }}
    131118        run: npm run test:${{ env.PHPUNIT_SCRIPT }} -- --verbose -c phpunit.xml.dist --coverage-clover wp-code-coverage-single-clover-${{ github.sha }}.xml
    132119
    133120      - name: Upload single site report to Codecov
    134         if: ${{ ! matrix.multisite }}
    135121        uses: codecov/codecov-action@e156083f13aff6830c92fc5faa23505779fbf649 # v1.2.1
    136122        with:
     
    139125
    140126      - name: Run tests as a multisite install
    141         if: ${{ matrix.multisite }}
    142127        run: npm run test:${{ env.PHPUNIT_SCRIPT }} -- --verbose -c tests/phpunit/multisite.xml --coverage-clover wp-code-coverage-multisite-clover-${{ github.sha }}.xml
    143128
    144129      - name: Upload multisite report to Codecov
    145         if: ${{ matrix.multisite }}
    146130        uses: codecov/codecov-action@e156083f13aff6830c92fc5faa23505779fbf649 # v1.2.1
    147131        with:
Note: See TracChangeset for help on using the changeset viewer.