Skip to content

Commit

Permalink
Changed linter ci
Browse files Browse the repository at this point in the history
  • Loading branch information
CrochetFeve0251 committed Jul 26, 2024
1 parent 5a2e524 commit bc5c1fe
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,30 @@ jobs:
- name: Install dependencies
run: composer install --prefer-dist --no-interaction

- name: Create override wp-env
if: matrix.wp-versions != 'latest'
env:
PHP_VERSION: ${{ matrix.php-versions }}
WP_VERSION: ${{ matrix.wp-versions }}
run: |
cat <<EOF > .wp-env.override.json
{
"phpVersion": "$PHP_VERSION",
"core": "WordPress/WordPress#$WP_VERSION"
}
EOF
- name: Create override wp-env
if: matrix.wp-versions == 'latest'
env:
PHP_VERSION: ${{ matrix.php-versions }}
run: |
cat <<EOF > .wp-env.override.json
{
"phpVersion": "$PHP_VERSION"
}
EOF
- name: Starting WP ENV
run: npm run wp-env:start

Expand Down

0 comments on commit bc5c1fe

Please sign in to comment.