Skip to content

Commit

Permalink
Merge pull request #39 from jamieblomerus/plugin-check
Browse files Browse the repository at this point in the history
Added CI workflow "WordPress Plugin Check"
  • Loading branch information
jamieblomerus authored Dec 23, 2024
2 parents 8a2f08c + 4e0cbd2 commit ad787e4
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/plugin-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: 'WordPress Plugin Check'
on:
pull_request:
push:
branches:
- trunk

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install Composer
run: |
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
- name: Build plugin
run: |
./build.sh dev
mkdir mobile-bankid-integration
unzip build-dev.zip -d mobile-bankid-integration
- name: Run plugin check
uses: wordpress/plugin-check-action@v1
with:
build-dir: './mobile-bankid-integration'
exclude-directories: 'vendor'
exclude-checks: 'plugin_readme'

0 comments on commit ad787e4

Please sign in to comment.