endtoend-test-psl/.github/workflows/static-analysis.yml

35 lines
799 B
YAML
Raw Permalink Normal View History

name: "static analysis"
2021-04-11 18:12:01 +02:00
on:
pull_request: ~
push: ~
schedule:
- cron: '0 */3 * * *'
jobs:
static-analysis:
2020-10-04 19:12:37 +02:00
name: "static analysis"
runs-on: "ubuntu-latest"
steps:
- name: "checkout"
uses: "actions/checkout@v2"
- name: "installing PHP"
uses: "shivammathur/setup-php@v2"
with:
2021-05-14 15:15:55 +02:00
php-version: "8.0"
ini-values: memory_limit=-1
2020-10-01 03:18:53 +02:00
tools: composer:v2, cs2pr
extensions: bcmath, mbstring, intl, sodium, json
- name: "installing dependencies"
2021-03-27 21:32:45 +01:00
run: |
make install-root-dependencies
2021-04-11 18:12:01 +02:00
make install-static-analysis-dependencies
2021-03-27 21:32:45 +01:00
- name: "running static analysis"
2021-04-11 18:12:01 +02:00
run: make static-analysis
- name: "calculating type coverage"
2021-03-27 21:32:45 +01:00
run: make type-coverage