Datenschule / jedeschule-scraper

MIT License
22 stars 15 forks source link

Fail in test script if any step fails #107

Closed k-nut closed 3 years ago

k-nut commented 3 years ago

We need to make sure that the test is marked as failed if any step in the test script fails. Otherwise we might have a run in which the actual python tests fail but we don't notice because the script continues and the last line that gets run exits with a success exit code.

See for example here: https://github.com/Datenschule/jedeschule-scraper/runs/1754916865

k-nut commented 3 years ago

Note that CI fails here now because we need to merge #102 first which fixes the tests.