Skip to content

Merge pull request #84 from vekkon/document-service #126

Merge pull request #84 from vekkon/document-service

Merge pull request #84 from vekkon/document-service #126

Workflow file for this run

name: CI
on: [push]
jobs:
phpstan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: php-actions/composer@v6
with:
php_version: 8.1
ssh_key: ${{ secrets.ssh_key }}
ssh_key_pub: ${{ secrets.ssh_key_pub }}
- name: PHPStan Static Analysis
uses: php-actions/phpstan@v3
with:
php_version: 8.1
path: src/
memory_limit: 256M
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: php-actions/composer@v6
with:
php_version: 8.1
ssh_key: ${{ secrets.ssh_key }}
ssh_key_pub: ${{ secrets.ssh_key_pub }}
- name: PHPUnit Tests
uses: php-actions/phpunit@v2
with:
php_version: 8.1
bootstrap: vendor/autoload.php
configuration: phpunit.xml
ssh_key: ${{ secrets.ssh_key }}
ssh_key_pub: ${{ secrets.ssh_key_pub }}