tests: add subset of the unit tests

Run the module unit tests.
This commit is contained in:
Christian Kellner 2021-06-30 14:28:34 +02:00
parent ae2c4f26cf
commit 30beb7c7f3

View File

@ -17,6 +17,9 @@
- smoke: - smoke:
dir: smoke dir: smoke
run: osbuild --help run: osbuild --help
- unit:
dir: source
run: python3 -m pytest test/mod
- image: - image:
dir: . dir: .
run: osbuild source/test/data/manifests/fedora-boot.json --output-directory=/var/tmp/osbuild run: osbuild source/test/data/manifests/fedora-boot.json --output-directory=/var/tmp/osbuild