Skip to content

Commit

Permalink
Remove env for lint
Browse files Browse the repository at this point in the history
  • Loading branch information
eerison committed Aug 6, 2022
1 parent fc3165e commit 031368e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,21 @@ jobs:
- 'rector'
- 'twig'
needs: build
env:
APP_ENV: test
container:
image: 3lever/php:8.1.8-fpm-postgresql-dev
services:
db:
image: postgres
env:
POSTGRES_USER: myprofile
POSTGRES_PASSWORD: 123456
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- uses: actions/checkout@v2

Expand All @@ -80,6 +91,12 @@ jobs:
node_modules
public
- name: Setup Database
run: composer db

- name: Fixtures
run: composer db:fixtures

- name: See files
run: |
pwd
Expand Down
4 changes: 4 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ parameters:
- src/EventListener/UpdateCurriculumListener.php
doctrine:
objectManagerLoader: tests/object-manager.php
symfony:
containerXmlPath: var/cache/dev/App_KernelDevDebugContainer.xml
scanDirectories:
- var/cache/dev/Symfony/Config
ignoreErrors:
- '#is never written, only read.#'
- '#type mapping mismatch\: property can contain App\\Entity\\UserInterface#'

0 comments on commit 031368e

Please sign in to comment.