Skip to content

Instantly share code, notes, and snippets.

@weierophinney
Created February 10, 2021 14:58
Show Gist options
  • Save weierophinney/9decd19f76b7d9745c6559074053fa65 to your computer and use it in GitHub Desktop.
Save weierophinney/9decd19f76b7d9745c6559074053fa65 to your computer and use it in GitHub Desktop.
CI workflow for Laminas packages (and any PHP package you want to use it on)
name: "Continuous Integration"
on:
pull_request:
push:
branches:
- '[0-9]+.[0-9]+.x'
- 'refs/pull/*'
tags:
jobs:
matrix:
name: Generate job matrix
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.matrix.outputs.matrix }}
steps:
- name: Gather CI configuration
id: matrix
uses: laminas/laminas-ci-matrix-action@v1
qa:
name: QA Checks
needs: [matrix]
runs-on: ${{ matrix.operatingSystem }}
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.matrix.outputs.matrix) }}
steps:
- name: ${{ matrix.name }}
uses: laminas/laminas-continuous-integration-action@v1
with:
job: ${{ matrix.job }}
@Slamdunk
Copy link

Does also .coveralls.yml need to be removed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment