osbuild-composer/tests/tests_unit.yml
Achilleas Koutsou bd2ed33a5b Update to 38
Resolves: rhbz#2011877

Enabled all tests:
- Copied script from RHEL 8.6.0 branch.
- Added nightly RHEL 9.0 repositories.
- Don't install EPEL for RHEL 9.0: Koji and Ansible aren't required for
  any of the enabled tests.

Unmount /tmp before running tests:
/tmp is too small to contain the results of image building tests.
Unmounting the partition makes it part of the underlying root partition,
which is much larger.
2021-11-19 13:29:14 +01:00

21 lines
475 B
YAML

- hosts: localhost
pre_tasks:
- name: unmount tmp to use disk for tests
shell: umount /tmp
tags:
- classic
roles:
- role: standard-test-source
tags:
- always
- role: standard-test-basic
tags:
- classic
tests:
- unit:
dir: source
run: GOFLAGS=-mod=vendor go test ./...
required_packages:
- golang
- krb5-devel # required by the koji integration, code cannot be compiled without this packages