1
0
Fork 0
m365-php/vendor/microsoft/microsoft-graph/.github/workflows/pr-validation.yml

33 lines
704 B
YAML
Raw Normal View History

2022-05-31 13:08:55 -06:00
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
name: "Validate Pull Request"
on:
push:
2023-09-30 18:46:19 -06:00
branches: [ main, dev ]
2022-05-31 13:08:55 -06:00
pull_request:
2023-09-30 18:46:19 -06:00
branches: [ main, dev ]
2022-05-31 13:08:55 -06:00
defaults:
run:
shell: bash
jobs:
validate-pull-request:
runs-on: ubuntu-latest
steps:
2023-09-30 18:46:19 -06:00
- uses: actions/checkout@v4
2022-05-31 13:08:55 -06:00
- name: Validate composer file
run: |
composer validate
- name: Install dependencies
run: |
composer install
- name: run tests
run : |
vendor/bin/phpunit --exclude-group functional
2022-11-27 15:44:53 -07:00
- name: Run static analysis
run: |
vendor/bin/phpstan analyse --memory-limit=1500M --error-format=github