OpenDataServices / standards-lab

Open Standards Lab. A web tool for users and creators of Open Standards.
https://standards-lab.readthedocs.io/
GNU Affero General Public License v3.0
2 stars 0 forks source link

tests: Set up docker environment for tests #171

Closed odscjames closed 3 years ago

odscjames commented 3 years ago

https://github.com/OpenDataServices/standards-lab/issues/164

odscjames commented 3 years ago

It may seem a bit over the top to set up a whole new compose environment but I've actually rescued this working pull request from my attempt to do #170 and I think this will be really important for #170 (I got that working locally - just not on GH Actions - so I am clear what we need to do here)

Basically, to get #170 to work we need a background worker running. And it needs to run on the same project files data dir as the test runner. We could cram it all in the current setup, but then there would be bits of mess in the code and a developers working files and test files would mix - that really isn't good. Setting up a whole new docker-compose environment now keeps working and test files totally separate and, when we come to do #170, makes adding a worker to the test runner setup pretty easy.

coveralls commented 3 years ago

Pull Request Test Coverage Report for Build 882300120


Totals Coverage Status
Change from base Build 881349273: 0.09%
Covered Lines: 458
Relevant Lines: 642

💛 - Coveralls