Skip to content

Add additional checks on the CI #257

@marien-probesys

Description

@marien-probesys

Is your feature request related to a problem? Please describe.

We realized during #250 that the schema of the database wasn't synchronized with the entities. This shouldn't happen as it could generate weird issues difficult to debug.

Also, it can happen that developers add a file that shouldn't be, like a SQL dump file :)

Describe the solution you'd like

Add two checks on the CI:

  • the first must run the console make:migration command and fail if a file is generated.
  • the second must check for the presence of any *.sql, *dump*, or .env* files and fail if it detects one which isn't in a safe list (such as /.env.example for instance)

Describe alternatives you've considered

N/A

Additional context

N/A

Metadata

Metadata

Assignees

Labels

technical debtMonitor technical issuestopic: toolingRelated to the tools of the development environment

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions