Skip to content

Commit

Permalink
Merge pull request #3 from ghostwriter/feature/switch-to-compliance
Browse files Browse the repository at this point in the history
feature/switch to compliance
  • Loading branch information
ghostwriter committed Aug 2, 2022
2 parents 0eba8ca + caea87f commit 266bf31
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 33 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/compliance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Compliance

on:
pull_request:
push:
branches:
- "main"
- "[0-9]+.[0-9]+.x"
- "v[0-9]+"
schedule:
- cron: "0 * * * *" # Runs hourly

jobs:
matrix:
name: Generate job matrix
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.matrix.outputs.matrix }}
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Determine CI Jobs
id: matrix
uses: ghostwriter/compliance@v1
with:
command: matrix
qa:
name: ${{ matrix.name }} on PHP ${{ matrix.php }} with ${{ matrix.dependency }} dependencies
needs: [matrix]
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.matrix.outputs.matrix) }}
steps:
- name: ${{ matrix.name }} on PHP ${{ matrix.php }}
uses: ghostwriter/laminas-continuous-integration-action@temp
with:
job: '{"php":"${{ matrix.php }}","dependencies":"${{ matrix.dependency }}","extensions":[],"ini":[],"command":"${{ matrix.command }}"}'
# - name: QA Check ${{ matrix.name }} on PHP ${{ matrix.php }}
# uses: ghostwriter/compliance@qa/test-workflow
# with:
# command: check
# job: ${{ matrix.command }}
33 changes: 0 additions & 33 deletions .github/workflows/continuous-integration.yml

This file was deleted.

0 comments on commit 266bf31

Please sign in to comment.