diff --git a/.gitattributes b/.gitattributes index f966b98..7af1a68 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,3 @@ /.github/ export-ignore /bin/remove-package-artifacts.php export-ignore -/CHANGELOG.md +/laminas-ci.json export-ignore diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml new file mode 100644 index 0000000..fe5f1b4 --- /dev/null +++ b/.github/workflows/continuous-integration.yml @@ -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 }} \ No newline at end of file diff --git a/laminas-ci.json b/laminas-ci.json new file mode 100644 index 0000000..64be8c2 --- /dev/null +++ b/laminas-ci.json @@ -0,0 +1,8 @@ +{ + "additional_composer_arguments": [ + "--no-scripts", + "--no-plugins" + ], + "ignore_php_platform_requirements": { + } +} \ No newline at end of file