Skip to content

Commit

Permalink
Removed sha from file name
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarthak Jaiswal authored and Sarthak Jaiswal committed Nov 29, 2024
1 parent 7464074 commit a545ef3
Showing 1 changed file with 39 additions and 36 deletions.
75 changes: 39 additions & 36 deletions .github/workflows/php-test-plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ jobs:
wp: [ 'latest' ]
coverage: [false]
include:
- php: '7.2'
wp: 'latest'
phpunit: '8.5'
- php: '7.4'
wp: '6.5'
- php: '8.3'
Expand Down Expand Up @@ -81,30 +84,30 @@ jobs:
- name: Running single site unit tests
run: |
if [ "${{ matrix.coverage }}" == "true" ]; then
npm run test-php:performance-lab -- -- -- --coverage-clover=coverage-performance-lab-${{ github.sha }}.xml
npm run test-php:auto-sizes -- -- -- --coverage-clover=coverage-auto-sizes-${{ github.sha }}.xml
npm run test-php:dominant-color-images -- -- -- --coverage-clover=coverage-dominant-color-images-${{ github.sha }}.xml
npm run test-php:embed-optimizer -- -- -- --coverage-clover=coverage-embed-optimizer-${{ github.sha }}.xml
npm run test-php:image-prioritizer -- -- -- --coverage-clover=coverage-image-prioritizer-${{ github.sha }}.xml
npm run test-php:optimization-detective -- -- -- --coverage-clover=coverage-optimization-detective-${{ github.sha }}.xml
npm run test-php:speculation-rules -- -- -- --coverage-clover=coverage-speculation-rules-${{ github.sha }}.xml
npm run test-php:web-worker-offloading -- -- -- --coverage-clover=coverage-web-worker-offloading-${{ github.sha }}.xml
npm run test-php:webp-uploads -- -- -- --coverage-clover=coverage-webp-uploads-${{ github.sha }}.xml
npm run test-php:performance-lab -- -- -- --coverage-clover=coverage-performance-lab.xml
npm run test-php:auto-sizes -- -- -- --coverage-clover=coverage-auto-sizes.xml
npm run test-php:dominant-color-images -- -- -- --coverage-clover=coverage-dominant-color-images.xml
npm run test-php:embed-optimizer -- -- -- --coverage-clover=coverage-embed-optimizer.xml
npm run test-php:image-prioritizer -- -- -- --coverage-clover=coverage-image-prioritizer.xml
npm run test-php:optimization-detective -- -- -- --coverage-clover=coverage-optimization-detective.xml
npm run test-php:speculation-rules -- -- -- --coverage-clover=coverage-speculation-rules.xml
npm run test-php:web-worker-offloading -- -- -- --coverage-clover=coverage-web-worker-offloading.xml
npm run test-php:webp-uploads -- -- -- --coverage-clover=coverage-webp-uploads.xml
else
npm run test-php
fi
- name: Running multisite unit tests
run: |
if [ "${{ matrix.coverage }}" == "true" ]; then
npm run test-php-multisite:performance-lab -- -- -- --coverage-clover=coverage-multisite-performance-lab-${{ github.sha }}.xml
npm run test-php-multisite:auto-sizes -- -- -- --coverage-clover=coverage-multisite-auto-sizes-${{ github.sha }}.xml
npm run test-php-multisite:dominant-color-images -- -- -- --coverage-clover=coverage-multisite-dominant-color-images-${{ github.sha }}.xml
npm run test-php-multisite:embed-optimizer -- -- -- --coverage-clover=coverage-multisite-embed-optimizer-${{ github.sha }}.xml
npm run test-php-multisite:image-prioritizer -- -- -- --coverage-clover=coverage-multisite-image-prioritizer-${{ github.sha }}.xml
npm run test-php-multisite:optimization-detective -- -- -- --coverage-clover=coverage-multisite-optimization-detective-${{ github.sha }}.xml
npm run test-php-multisite:speculation-rules -- -- -- --coverage-clover=coverage-multisite-speculation-rules-${{ github.sha }}.xml
npm run test-php-multisite:web-worker-offloading -- -- -- --coverage-clover=coverage-multisite-web-worker-offloading-${{ github.sha }}.xml
npm run test-php-multisite:webp-uploads -- -- -- --coverage-clover=coverage-multisite-webp-uploads-${{ github.sha }}.xml
npm run test-php-multisite:performance-lab -- -- -- --coverage-clover=coverage-multisite-performance-lab.xml
npm run test-php-multisite:auto-sizes -- -- -- --coverage-clover=coverage-multisite-auto-sizes.xml
npm run test-php-multisite:dominant-color-images -- -- -- --coverage-clover=coverage-multisite-dominant-color-images.xml
npm run test-php-multisite:embed-optimizer -- -- -- --coverage-clover=coverage-multisite-embed-optimizer.xml
npm run test-php-multisite:image-prioritizer -- -- -- --coverage-clover=coverage-multisite-image-prioritizer.xml
npm run test-php-multisite:optimization-detective -- -- -- --coverage-clover=coverage-multisite-optimization-detective.xml
npm run test-php-multisite:speculation-rules -- -- -- --coverage-clover=coverage-multisite-speculation-rules.xml
npm run test-php-multisite:web-worker-offloading -- -- -- --coverage-clover=coverage-multisite-web-worker-offloading.xml
npm run test-php-multisite:webp-uploads -- -- -- --coverage-clover=coverage-multisite-webp-uploads.xml
else
npm run test-php-multisite
fi
Expand All @@ -114,15 +117,15 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: |
coverage-performance-lab-${{ github.sha }}.xml
coverage-auto-sizes-${{ github.sha }}.xml
coverage-dominant-color-images-${{ github.sha }}.xml
coverage-embed-optimizer-${{ github.sha }}.xml
coverage-image-prioritizer-${{ github.sha }}.xml
coverage-optimization-detective-${{ github.sha }}.xml
coverage-speculation-rules-${{ github.sha }}.xml
coverage-web-worker-offloading-${{ github.sha }}.xml
coverage-webp-uploads-${{ github.sha }}.xml
coverage-performance-lab.xml
coverage-auto-sizes.xml
coverage-dominant-color-images.xml
coverage-embed-optimizer.xml
coverage-image-prioritizer.xml
coverage-optimization-detective.xml
coverage-speculation-rules.xml
coverage-web-worker-offloading.xml
coverage-webp-uploads.xml
flags: single
name: ${{ matrix.php }}-single-site-coverage
fail_ci_if_error: true
Expand All @@ -132,15 +135,15 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: |
coverage-multisite-performance-lab-${{ github.sha }}.xml
coverage-multisite-auto-sizes-${{ github.sha }}.xml
coverage-multisite-dominant-color-images-${{ github.sha }}.xml
coverage-multisite-embed-optimizer-${{ github.sha }}.xml
coverage-multisite-image-prioritizer-${{ github.sha }}.xml
coverage-multisite-optimization-detective-${{ github.sha }}.xml
coverage-multisite-speculation-rules-${{ github.sha }}.xml
coverage-multisite-web-worker-offloading-${{ github.sha }}.xml
coverage-multisite-webp-uploads-${{ github.sha }}.xml
coverage-multisite-performance-lab.xml
coverage-multisite-auto-sizes.xml
coverage-multisite-dominant-color-images.xml
coverage-multisite-embed-optimizer.xml
coverage-multisite-image-prioritizer.xml
coverage-multisite-optimization-detective.xml
coverage-multisite-speculation-rules.xml
coverage-multisite-web-worker-offloading.xml
coverage-multisite-webp-uploads.xml
flags: multisite
name: ${{ matrix.php }}-multisite-coverage
fail_ci_if_error: true

0 comments on commit a545ef3

Please sign in to comment.