Changeset 50594
- Timestamp:
- 03/26/2021 03:09:19 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/test-coverage.yml
r50593 r50594 48 48 # - Upload the multisite code coverage report to Codecov.io. 49 49 test-coverage-report: 50 name: Generate a code coveragereport50 name: ${{ matrix.multisite && 'Multisite' || 'Single site' }} report 51 51 runs-on: ubuntu-latest 52 52 if: ${{ github.repository == 'WordPress/wordpress-develop' }} 53 strategy: 54 fail-fast: false 55 matrix: 56 multisite: [ false, true ] 53 57 54 58 steps: … … 123 127 124 128 - name: Run tests as a single site 129 if: ${{ ! matrix.multisite }} 125 130 run: npm run test:${{ env.PHPUNIT_SCRIPT }} -- --verbose -c phpunit.xml.dist --coverage-clover wp-code-coverage-single-clover-${{ github.sha }}.xml 126 131 127 132 - name: Upload single site report to Codecov 133 if: ${{ ! matrix.multisite }} 128 134 uses: codecov/codecov-action@e156083f13aff6830c92fc5faa23505779fbf649 # v1.2.1 129 135 with: … … 132 138 133 139 - name: Run tests as a multisite install 140 if: ${{ matrix.multisite }} 134 141 run: npm run test:${{ env.PHPUNIT_SCRIPT }} -- --verbose -c tests/phpunit/multisite.xml --coverage-clover wp-code-coverage-multisite-clover-${{ github.sha }}.xml 135 142 136 143 - name: Upload multisite report to Codecov 144 if: ${{ matrix.multisite }} 137 145 uses: codecov/codecov-action@e156083f13aff6830c92fc5faa23505779fbf649 # v1.2.1 138 146 with:
Note: See TracChangeset
for help on using the changeset viewer.