Skip to content

Commit

Permalink
Use centralized GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
dlh01 committed Sep 13, 2023
1 parent 003e5fa commit fe04310
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 55 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Code Quality

on:
pull_request:
branches:
- main
types: [opened, synchronize, reopened, ready_for_review]

jobs:
code-quality:
if: github.event.pull_request.draft == false
uses: alleyinteractive/.github/.github/workflows/php-code-quality.yml@main
with:
php: 8.1
14 changes: 14 additions & 0 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Coding Standards

on:
pull_request:
branches:
- main
types: [opened, synchronize, reopened, ready_for_review]

jobs:
coding-standards:
if: github.event.pull_request.draft == false
uses: alleyinteractive/.github/.github/workflows/php-coding-standards.yml@main
with:
php: 8.1
38 changes: 0 additions & 38 deletions .github/workflows/cs.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/tests.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Testing Suite

on:
pull_request:
branches:
- main
types: [opened, synchronize, reopened, ready_for_review]

jobs:
php-tests:
if: github.event.pull_request.draft == false
strategy:
matrix:
php: [8.2, 8.1]
wordpress: ["latest"]
multisite: [false, true]
uses: alleyinteractive/.github/.github/workflows/php-tests.yml@main
with:
php: ${{ matrix.php }}
wordpress: ${{ matrix.wordpress }}
multisite: ${{ matrix.multisite }}

0 comments on commit fe04310

Please sign in to comment.