CCP-NC / ccpnc-database

4 stars 3 forks source link

Add Python packaging, CI and mock database for testing - [merged] #27

Closed jkshenton closed 2 years ago

jkshenton commented 2 years ago

In GitLab by @ml-evs on Apr 7, 2022, 13:06

_Merges ml-evs/addpackaging -> master

This PR gets things ready for an upcoming OPTIMADE API PR by:

  1. Adding a setup.cfg, requirements.txt and pyproject.toml to allow the package to be installed with its dependencies.
  2. Adding a GitLab CI config (can easily convert to GitHub if you wanted to move this to the CCP-NC organization).
  3. Removing the need for a local MongoDB when testing by using the mongomock package.
jkshenton commented 2 years ago

In GitLab by @ml-evs on Apr 7, 2022, 13:06

requested review from @jkshenton

jkshenton commented 2 years ago

In GitLab by @ml-evs on Apr 7, 2022, 13:09

added 1 commit

Compare with previous version

jkshenton commented 2 years ago

In GitLab by @ml-evs on Apr 7, 2022, 13:18

added 1 commit

Compare with previous version

jkshenton commented 2 years ago

In GitLab by @ml-evs on Apr 7, 2022, 13:34

added 1 commit

Compare with previous version

jkshenton commented 2 years ago

In GitLab by @ml-evs on Apr 7, 2022, 13:36

added 1 commit

Compare with previous version

jkshenton commented 2 years ago

In GitLab by @ml-evs on Apr 7, 2022, 13:38

added 1 commit

Compare with previous version

jkshenton commented 2 years ago

In GitLab by @ml-evs on Apr 9, 2022, 15:35

added 2 commits

Compare with previous version

jkshenton commented 2 years ago

In GitLab by @ml-evs on Apr 9, 2022, 16:20

added 1 commit

Compare with previous version

jkshenton commented 2 years ago

In GitLab by @ml-evs on Apr 9, 2022, 17:08

added 1 commit

Compare with previous version

jkshenton commented 2 years ago

In GitLab by @ml-evs on Apr 9, 2022, 17:12

added 1 commit

Compare with previous version

jkshenton commented 2 years ago

mentioned in commit 671e1c94140bc22baa33a90104bf760cd7ac0d78