Skip to content

Commit

Permalink
Merge pull request #61 from internalsystemerror/feature/gha-workflow
Browse files Browse the repository at this point in the history
Add GHA CI workflow
  • Loading branch information
weierophinney authored Apr 13, 2021
2 parents 9599bee + 37d9a40 commit 53df7b7
Show file tree
Hide file tree
Showing 8 changed files with 2,613 additions and 1,923 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/.gitattributes export-ignore
/.github/ export-ignore
/.gitignore export-ignore
/.travis.yml export-ignore
/.laminas-ci.json
/docs/ export-ignore
/mkdocs.yml export-ignore
/phpcs.xml export-ignore
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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 }}
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.tmp/
/composer.lock
/doc/html/
/laminas-mkdoc-theme.tgz
/laminas-mkdoc-theme/
Expand Down
5 changes: 5 additions & 0 deletions .laminas-ci.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extensions": [
"gd"
]
}
51 changes: 0 additions & 51 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit 53df7b7

Please sign in to comment.