Blame tests/tests.yml

f5bea8c
---
f5bea8c
- hosts: localhost
f5bea8c
  tags:
f5bea8c
    - classic
f5bea8c
  tasks:
f5bea8c
    - dnf:
f5bea8c
        name: "*"
f5bea8c
        state: latest
f5bea8c
f5bea8c
- hosts: localhost
f5bea8c
  roles:
f5bea8c
  - role: standard-test-basic
f5bea8c
    tags:
f5bea8c
    - classic
f5bea8c
    tests:
f5bea8c
    - pytest:
f5bea8c
        dir: .
2d0673a
        run: PYTHONPATH=/usr/lib/rpm/redhat ALTERNATE_PYTHON_VERSION=3.6 pytest -v
3af689b
    - manual_byte_compilation_clamp_mtime_off:
431e438
        dir: .
ebc517d
        run: rpmbuild --define 'dist .clamp0' --define 'clamp_mtime_to_source_date_epoch 0' -ba pythontest.spec
3af689b
    - manual_byte_compilation_clamp_mtime_on:
3af689b
        dir: .
ebc517d
        run: rpmbuild --define 'dist .clamp1' --define 'clamp_mtime_to_source_date_epoch 1' -ba pythontest.spec
ebc517d
    - rpmlint_clamp_mtime_off:
ebc517d
        dir: .
ebc517d
        run: rpmlint ~/rpmbuild/RPMS/x86_64/pythontest-0-0.clamp0.x86_64.rpm | grep python-bytecode-inconsistent-mtime || exit 0 && exit 1
ebc517d
    - rpmlint_clamp_mtime_on:
ebc517d
        dir: .
ebc517d
        run: rpmlint ~/rpmbuild/RPMS/x86_64/pythontest-0-0.clamp1.x86_64.rpm | grep python-bytecode-inconsistent-mtime || exit 0 && exit 1
f5bea8c
    required_packages:
f5bea8c
    - rpm-build
ebc517d
    - rpmlint
f5bea8c
    - python-rpm-macros
7237192
    - python3-rpm-macros
a712d45
    - python3-devel
f5bea8c
    - python3-pytest
9d2fcef
    - python3.6
77cc1a4
    - python2.7
f5bea8c