Skip to content

Commit

Permalink
?????
Browse files Browse the repository at this point in the history
  • Loading branch information
smileBeda committed May 23, 2024
1 parent b9fb2aa commit 86689cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/wpcs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ jobs:
wpcs:
name: WPCS Scan
runs-on: ubuntu-latest
env:
REPO_NAME: ${{ github.event.repository.name }}

steps:
- name: Checkout code
Expand All @@ -35,4 +33,4 @@ jobs:
- name: Run WPCS
run: |
~/.composer/vendor/bin/phpcs --standard=WordPress src/resources/* src/src/* src/index.php src/$REPO_NAME.php --report=checkstyle | cs2pr
~/.composer/vendor/bin/phpcs --standard=WordPress src/resources/* src/src/* src/index.php src/plugin-name.php --report=checkstyle | cs2pr
3 changes: 2 additions & 1 deletion config/phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
</testsuites>
<php>
<env name="WP_TESTS_DIR" value="${WP_TESTS_DIR}"/>
<env name="WP_PLUGIN_SLUG" value="peakprosperity-deploy-control"/>
<env name="WP_PLUGIN_SLUG" value="plugin-name"/>
</php>

</phpunit>

0 comments on commit 86689cb

Please sign in to comment.