jonbiemond / BCIT-Flex

A website for easily navigating BCIT courses and offerings.
https://www.bcitflex.tech
MIT License
10 stars 8 forks source link

Switch to in-memory DB for testing #19

Closed jonbiemond closed 11 months ago

jonbiemond commented 1 year ago

Testing with Postgres is slow and not possible in CI. Configure an in-memory DB for testing.

jonbiemond commented 1 year ago

I tried to implement an in-memory SQLite db, but it is incompatible with the migrations. Perhaps an in-memory Postgres instance exists. However I feel like it would be best to decouple as many tests as possible from the database entirely. See #29, #31