REK-67 Add filter by consultation id #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests PHPStan in environments | |
on: [pull_request] | |
jobs: | |
php82-laravel-latest-phpstan-postgres: | |
runs-on: ubuntu-latest | |
container: | |
image: escolalms/php:8.2 | |
services: | |
postgres: | |
image: postgres:12 | |
env: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: postgres | |
POSTGRES_DB: test | |
TZ: Europe/Warsaw | |
ports: | |
- 5432:5432 | |
steps: | |
- name: Instantiate package | |
uses: actions/checkout@v2 | |
- name: Update composer | |
run: COMPOSER_ROOT_VERSION=0.9.9 composer update | |
- name: Setup environment | |
run: cp env/postgres/* . | |
- name: Clear config | |
run: vendor/bin/testbench config:clear | |
- name: Publish things | |
run: vendor/bin/testbench migrate:fresh | |
- name: Run tests | |
run: vendor/bin/phpstan analyse |