File: tests.yml

package info (click to toggle)
libmodulemd 2.15.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,180 kB
  • sloc: ansic: 37,927; python: 3,233; xml: 1,739; sh: 389; makefile: 42
file content (32 lines) | stat: -rw-r--r-- 727 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
- hosts: localhost
  tags:
    - classic
  roles:
  - role: standard-test-source

- hosts: localhost
  tags:
    - classic
  tasks:
  - name: Make sure fedpkg and selinux bindings are installed
    shell: dnf -y install --skip-broken fedpkg python3-libselinux libmodulemd-devel
  - name: Copy spec file to remote machine
    copy:
      src: "{{ playbook_dir }}/../libmodulemd.spec"
      dest: /tmp/libmodulemd.spec
  - name: Install build deps
    shell: dnf -y builddep /tmp/libmodulemd.spec

- hosts: localhost
  tags:
    - classic
  roles:
  - role: standard-test-basic
    tests:
    - build:
        dir: .
        run: meson -Dtest_installed_lib=true source
    - unittests:
        dir: .
        run: ninja test