Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove duplicate code (again) #147

Merged
merged 8 commits into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ jobs:
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
php: ['8.2', '8.1', '8.0', '7.4', '7.3', '7.2', '7.1', '7.0']
wp: ['latest']
php: ['8.1', '8.0', '7.4', '7.3', '7.2', '7.1', '7.0']
wp: ['6.4']
coverage: [false]
experimental: [false]
include:
- php: '8.0'
wp: 'latest'
- php: '8.2'
wp: '6.4'
coverage: true
experimental: false

Expand All @@ -73,6 +73,7 @@ jobs:

- php: '8.3'
wp: 'trunk'
coverage: true
experimental: true

steps:
Expand Down Expand Up @@ -131,21 +132,21 @@ jobs:
uses: codecov/codecov-action@v3.1.4
with:
file: coverage.xml
flags: default
flags: ${{ matrix.wp == 'trunk' && 'trunk,unit' || 'default' }}
if: ${{ matrix.coverage }}

- name: Upload code coverage report
uses: codecov/codecov-action@v3.1.4
with:
file: coverage-integration.xml
flags: default
flags: ${{ matrix.wp == 'trunk' && 'trunk,integration' || 'integration' }}
if: ${{ matrix.coverage }}

- name: Upload code coverage report
uses: codecov/codecov-action@v3.1.4
with:
file: coverage-integration-multisite.xml
flags: multisite
flags: ${{ matrix.wp == 'trunk' && 'trunk,multisite' || 'multisite' }}
if: ${{ matrix.coverage }}

phpbench:
Expand Down
302 changes: 204 additions & 98 deletions composer.lock

Large diffs are not rendered by default.

282 changes: 0 additions & 282 deletions lib/class-performant-translations-65.php

This file was deleted.

Loading
Loading