welfare-state-analytics / riksdagen-corpus

Swedish parliamentary proceedings - Riksdagens protokoll 1867-today
Other
26 stars 5 forks source link

Structure the unit test badges accordining the structure of our data integrity test #425

Open MansMeg opened 9 months ago

MansMeg commented 9 months ago

We should rearrange the unit test and their badges to the different unit test we do. No I think they all go in one large unit test file. Separate them out would both make it more semantically clear what we test for and at the same time enable parallelism on Github Actions.

ninpnin commented 8 months ago

According to this answer, you need to split the workflow into multiple workflows to get multiple badges https://stackoverflow.com/a/75878936/12764816

MansMeg commented 8 months ago

Yes. Thats the idea. That would also speed up the tests.

ninpnin commented 8 months ago
MansMeg commented 8 months ago

That sounds good. I would check the paper. We have a structure and substructure of the tests that we could probably use. This would communicate what is tested and that they pass.

Also maybe have more meaningful names like: mp database tests (instead of metadata tests)?