Blob Blame History Raw
---
- hosts: localhost
  tags:
    - classic
  tasks:
    - dnf:
        name: "*"
        state: latest

- hosts: localhost
  tags:
  - classic
  pre_tasks:
  - import_role:
      name: standard-test-source
    vars:
      fetch_only: True

  roles:
  - role: standard-test-basic
    repositories:
    - repo: "https://src.fedoraproject.org/tests/python.git"
      dest: "python"
    - repo: "https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git"
      dest: "pyproject-rpm-macros"
    tests:
    - mock_with_tests:
        dir: .
        run: pyproject-rpm-macros/tests/mocktest.sh python-tox --enable-network --with tests
    - all_supplementing_pythons:
        dir: tests
        run: ./all_supplementing_pythons.py
    - smoke39:
        dir: python/smoke
        run: VERSION=3.9 ./venv.sh
    - pyproject_pytest:
        dir: pyproject-rpm-macros/tests
        run: ./mocktest.sh python-pytest
    - pyproject_pluggy:
        dir: pyproject-rpm-macros/tests
        run: ./mocktest.sh python-pluggy
    - pyproject_openqa_client:
        dir: pyproject-rpm-macros/tests
        run: ./mocktest.sh python-openqa_client
    required_packages:
    - gcc
    - virtualenv
    - python3.9-devel
    - tox
    - dnf
    - mock
    - rpmdevtools
    - rpm-build
    - python3-pyyaml