Vendure: CI: Set up testing for all supported databases

Created on 18 Nov 2019  路  5Comments  路  Source: vendure-ecommerce/vendure

Currently in CI we run e2e tests against sql.js (SQLite). Generally, due to the use of the TypeORM layer, this means that things should work fine in the other supported database, namely mysql & postgres.

However, there is some DB-specific code (e.g. in the DefaultSearchPlugin) which has caused a couple of issues by being untested (e.g. #206).

It would be better to run all e2e tests against each database. This would require some re-working on the @vendure/testing package to allow other DBs to be used.

All 5 comments

@michaelbromley thank you, really appreciate it. In the meantime, is there anything i can do on my side to get rid of this error? https://github.com/vendure-ecommerce/vendure/issues/206

@rrubio I'll release a patch (v0.6.1) today that includes the fix for that.

@michaelbromley you rock! thank you man!

https://github.com/vendure-ecommerce/vendure/blob/master/CHANGELOG.md#061-2019-11-18

Boom! Whaddya call that for service?!? 馃槆馃槅

AWESOME!!!! thank you so much!

Was this page helpful?
0 / 5 - 0 ratings