Skip to content

Commit

Permalink
Merge pull request #380 from lloc/raise-coverage
Browse files Browse the repository at this point in the history
Plugin check workflow added and existing workflows updated
  • Loading branch information
lloc authored Sep 22, 2024
2 parents 5fe6277 + a138cda commit 0927a68
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v1
uses: actions/checkout@v3
- name: Composer dependencies
run: composer install --no-dev
- name: Build
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/plugin-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: 'build-test'
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- master
- 'releases/*'

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

- name: Run plugin check
uses: wordpress/plugin-check-action@v1
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v1
uses: actions/checkout@v3
- name: Composer dependencies
run: composer install
- name: Run Testsuite
Expand All @@ -16,7 +16,7 @@ jobs:
if: github.ref == 'refs/heads/master'
steps:
- name: Checkout project
uses: actions/checkout@v1
uses: actions/checkout@v3
- name: Composer dependencies
run: composer install
- name: Run Testsuite
Expand Down

0 comments on commit 0927a68

Please sign in to comment.