Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

github,tmt: run the bib integration tests #1

github,tmt: run the bib integration tests

github,tmt: run the bib integration tests #1

Workflow file for this run

---
name: Tests
on:
pull_request:
branches:
- "*"
push:
branches:
- main
# for merge queue
merge_group:
jobs:
integration:
name: "Integration"
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Setup up python
uses: actions/setup-python@v5
- name: Install test dependencies
run: |
sudo apt install -y podman python3-pytest python3-paramiko flake8 qemu-system-x86
- name: Run tests
run: |
# XXX: move tests out of main bootc-image-builder repo into a shared one?
git clone https://github.com/osbuild/bootc-image-builder
cd bootc-image-builder
BIB_TEST_BUILD_CONTAINER_TAG=quay.io/centos-bootc/bootc-image-builder:latest \
# TODO: replace with the freshly generated bootc image that needs to
# get tested
BIB_TEST_BOOTC_CONTAINER_TAG=quay.io/centos-bootc/fedora-bootc:eln \
# podman needs (parts of) the environment but will break when
# XDG_RUNTIME_DIR is set.
# TODO: figure out what exactly podman needs
sudo -E XDG_RUNTIME_DIR= pytest-3 -s -vv