Skip to content

Merge pull request #572 from dxw/dependabot/github_actions/shivammath… #1272

Merge pull request #572 from dxw/dependabot/github_actions/shivammath…

Merge pull request #572 from dxw/dependabot/github_actions/shivammath… #1272

Workflow file for this run

on:
- push
- pull_request
env:
PLUGIN_NAME: dxw-sec-api
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: shivammathur/[email protected]
with:
php-version: "7.4"
coverage: none
tools: composer
- name: Install dependencies
run: |
cd "wp-content/plugins/$PLUGIN_NAME"
composer --no-interaction install
- name: Run tests
run: |
cd "wp-content/plugins/$PLUGIN_NAME"
vendor/bin/peridot specs