canonical-ci-engineering team mailing list archive
-
canonical-ci-engineering team
-
Mailing list archive
-
Message #00602
lp:ubuntu-ci-services-itself: unit tests run during MPs
Hey Guys,
A heads up. Chris and I just got his tarmac job updated to run unit
tests as part of new MPs. The test script is very lightweight and only
does out unit-tests. It takes just at 60 seconds right now, so it
shouldn't be too cumbersome.
If you want to test things locally, you can simply run:
./tarmac.sh
This creates a temp-directory with a python-venv, runs our tests, and
deletes the temp-directory. Thus, it *should* be a non-destructive thing
you can easily try out.
Its not perfect, but mathematically speaking is now infinitely better
than what we had. I'd gladly accept patches that clean up the output or
deal with the results better (subunit would be ideal) so its easier to
track what exactly failed in an MP.
-andy
Follow ups