Skip to content

Commit

Permalink
Merge pull request #4 from alleyinteractive/feature/actions
Browse files Browse the repository at this point in the history
Use centralized GitHub workflows
  • Loading branch information
dlh01 authored Sep 13, 2023
2 parents ea525cc + 8c7451d commit 04bbf0c
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 82 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
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
35 changes: 0 additions & 35 deletions .github/workflows/cs.yml

This file was deleted.

47 changes: 0 additions & 47 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", "8.0"]
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 04bbf0c

Please sign in to comment.