Skip to content

Add tests in the CI

Loic Huder requested to merge dotenv-config into master
  • Added specific server.config and tracking.config in test/config. This way, we can test that notifications are working without sending mails to "real" addresses.
  • Some of the variables in server.config are to be set externally*:
    • in .env.test locally
    • in Gitlab variables for the CI
  • I had to skip several failing tests (elasticsearch, OAIPMH, logbook) for the pipeline to succeed. I will open separate issues as it is not the aim of this MR to fix them.

* Note: This is an opt-in. Locally, you can hard code the fields as before. Just be careful to not commit your file 🙂 !

Merge request reports

Loading