workflows: factor out testing to be able to use if:
#101
unittests.yml
on: push
Matrix: format
Matrix: lint
Matrix: type-hints
Matrix: test