Skip to content

Merge pull request #195 from microsoftgraph/kiota/beta/pipelinebuild/… #388

Merge pull request #195 from microsoftgraph/kiota/beta/pipelinebuild/…

Merge pull request #195 from microsoftgraph/kiota/beta/pipelinebuild/… #388

Workflow file for this run

# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
name: "Validate Pull Request"
on:
push:
branches: [ main, dev ]
pull_request:
branches: [ main, dev ]
# Add assigned to defaults as a hack to easily trigger code-gen PRs to run validation
types: [assigned, opened, synchronize, reopened]
defaults:
run:
shell: bash
jobs:
validate-pull-request:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Composer validate
run: |
composer validate
- name: Install dependencies
run: |
composer install -a
- name: Run tests
run : |
vendor/bin/phpunit --coverage-text
- name: Run static analysis
run: |
vendor/bin/phpstan analyse --memory-limit=8G --error-format=github