Skip to content

Generated models and request builders #1661

Generated models and request builders

Generated models and request builders #1661

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, feat/kiota-preview ]
pull_request:
branches: [ main, dev, feat/kiota-preview ]
defaults:
run:
shell: bash
jobs:
validate-pull-request:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.4', '8.0', '8.1', '8.2']
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- uses: actions/checkout@v3
- name: Validate composer file
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