forked from rpms/osbuild-composer
bd2ed33a5b
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.
21 lines
475 B
YAML
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
|