osbuild/tests/tests.yml
Christian Kellner ddbd8f7fd2 tests: pin down test manifest
To avoid cross-host building, i.e. building a new Fedora on an
older Fedora host, we pin down the test manifest.
2021-06-30 14:31:37 +02:00

26 lines
522 B
YAML

---
- hosts: localhost
roles:
- role: standard-test-source
tags:
- always
- role: standard-test-basic
tags:
- classic
required_packages:
- osbuild
- git
- make
- python3-mako
- python3-pytest
tests:
- smoke:
dir: smoke
run: osbuild --help
- unit:
dir: source
run: python3 -m pytest test/mod
- image:
dir: tests
run: osbuild fedora-boot.json --store=/var/tmp/osbuild/store --output-directory=/var/tmp/osbuild/out