Changeset 49903 for trunk/.github/workflows/test-coverage.yml
- Timestamp:
- 12/23/2020 06:17:51 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/test-coverage.yml
r49834 r49903 125 125 126 126 - name: Run tests as a single site 127 run: npm run test:${{ env.PHPUNIT_SCRIPT }} -- --verbose -c phpunit.xml.dist --coverage-html wp-code-coverage-single-${{ github.sha }} 127 run: npm run test:${{ env.PHPUNIT_SCRIPT }} -- --verbose -c phpunit.xml.dist --coverage-html wp-code-coverage-single-${{ github.sha }} --coverage-clover wp-code-coverage-single-clover-${{ github.sha }}.xml 128 128 129 129 - name: Create ZIP artifact of single site results … … 140 140 if-no-files-found: error 141 141 142 - name: Upload single site report to codecov 143 uses: codecov/codecov-action@v1 144 with: 145 file: wp-code-coverage-single-clover-${{ github.sha }}.xml 146 flags: single,php 147 142 148 - name: Run tests as a multisite install 143 run: npm run test:${{ env.PHPUNIT_SCRIPT }} -- --verbose -c tests/phpunit/multisite.xml --coverage-html wp-code-coverage-multisite-${{ github.sha }} 149 run: npm run test:${{ env.PHPUNIT_SCRIPT }} -- --verbose -c tests/phpunit/multisite.xml --coverage-html wp-code-coverage-multisite-${{ github.sha }} --coverage-clover wp-code-coverage-multisite-clover-${{ github.sha }}.xml 144 150 145 151 - name: Create ZIP artifact of multisite results … … 155 161 path: wp-code-coverage-multisite-${{ github.sha }}.zip 156 162 if-no-files-found: error 163 164 - name: Upload multisite report to codecov 165 uses: codecov/codecov-action@v1 166 with: 167 file: wp-code-coverage-multisite-clover-${{ github.sha }}.xml 168 flags: multisite,php
Note: See TracChangeset
for help on using the changeset viewer.