electricitymaps / brick

Simple monorepo build tool based on Docker
20 stars 1 forks source link

Add integration test setup and examples folder #69

Closed skovhus closed 4 years ago

skovhus commented 4 years ago

https://github.com/tmrowco/brick/issues/68

When fixing a caching issue in the promotion of images, I decided to wrap up some old integrations tests I started on a while ago. Manually testing Brick is very tedious, so a few high level integrations tests really helps here.

We are testing on a fairly high level:

We test several scenarios here:

corradio commented 4 years ago

I'll let @madsnedergaard review if that's fine with you. Thanks for cc'ing me though!

madsnedergaard commented 4 years ago

Started reviewing yesterday, but thought I was hitting an infinite loop when running the test since my CPU was going crazy for so long - turns out it just need more time 😄

skovhus commented 4 years ago

Started reviewing yesterday, but thought I was hitting an infinite loop when running the test since my CPU was going crazy for so long - turns out it just need more time 😄

Wow! They take 40 seconds on CI... Wondering if something else was wrong 🤔