digitallinguistics / data-explorer

The DLx portal for viewing, searching, and aggregating data
https://data.digitallinguistics.io
MIT License
3 stars 0 forks source link

use Cosmos DB emulator on CI #493

Closed dwhieb closed 1 year ago

dwhieb commented 1 year ago

Running tests by connecting to Cosmos DB on the server makes them exceedingly slow (so far >10min).

Get the Cosmos DB emulator running on CI to speed up the tests.

dwhieb commented 1 year ago

The long runtime for tests on CI might actually not be due to Cosmos DB at all:

https://github.com/digitallinguistics/data-explorer/issues/494

However, the tests still send ~2,500 requests to the server database, which uses a lot of your RUs, so it's still a good idea to allow Cosmos DB to run locally on CI.

dwhieb commented 1 year ago

Closed by 0964bc50b781a9c2ba56703c20a44fae482f5243.