Skip to content

Commit

Permalink
Remove check
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro-mendonca committed Jul 16, 2024
1 parent dd8815c commit 6ab310a
Showing 1 changed file with 0 additions and 37 deletions.
37 changes: 0 additions & 37 deletions .github/workflows/plugin-check-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,40 +94,3 @@ jobs:
shell: bash
env:
WP_VERSION: 'null'

- name: Run Plugin Check
run: |
CHECKS="${CHECKS//$'\n'/,}"
EXCLUDE_CHECKS="${EXCLUDE_CHECKS//$'\n'/,}"
CATEGORIES="${CATEGORIES//$'\n'/,}"
EXCLUDE_DIRS="${EXCLUDE_DIRS//$'\n'/,}"
ADDITIONAL_ARGS="$CHECKS $EXCLUDE_CHECKS $CATEGORIES $IGNORE_WARNINGS $IGNORE_ERRORS $INCLUDE_EXPERIMENTAL $EXCLUDE_DIRS"
# TODO: Install dependencies first, see https://github.com/wordpress/plugin-check-action/issues/66
# Get plugin dependencies
wp-env run cli wp plugin get $PLUGIN_SLUG --field=requires_plugins --format=json
wp-env run cli wp plugin activate $PLUGIN_SLUG
# Debugging information
wp-env run cli wp plugin list
wp-env run cli wp plugin list-checks
wp-env run cli wp plugin list-check-categories
# Run Plugin Check
wp-env run cli wp plugin check $PLUGIN_SLUG --format=json $ADDITIONAL_ARGS --require=./wp-content/plugins/plugin-check/cli.php > ${{ runner.temp }}/plugin-check-results.txt
shell: bash
env:
CHECKS: ''
EXCLUDE_CHECKS: ''
CATEGORIES: ''
EXCLUDE_DIRS: ''
IGNORE_WARNINGS: ''
IGNORE_ERRORS: ''
INCLUDE_EXPERIMENTAL: ''

- name: Process results
run: |
node ../../actions/plugin-check-action/dist/index.js ${{ runner.temp }}/plugin-check-results.txt
shell: bash
env:
INPUT_REPO_TOKEN: ${{ github.token }}

0 comments on commit 6ab310a

Please sign in to comment.