Skip to content

MDBF-991 - Obtain failed test results and the associated output from MTR #610

MDBF-991 - Obtain failed test results and the associated output from MTR

MDBF-991 - Obtain failed test results and the associated output from MTR #610

Workflow file for this run

---
name: unittests
on:
pull_request:
paths:
- configuration/**
push:
paths:
- configuration/**
workflow_dispatch:
jobs:
pre-commit:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
#//TEMP we need to check only modified files WRT main
- name: Install requirements (apt)
run: |
sudo apt-get update
sudo apt-get install -y libvirt-dev
- name: Install requirements (uv pip)
run: |
python_version=$(python3 --version 2>&1 | awk '{print $2}' | cut -d. -f1,2)
curl -LsSf https://astral.sh/uv/install.sh | sh
make UV_PYTHON=$python_version venv
make UV_PYTHON=$python_version install
- name: Run unit tests
run: |
source .venv/bin/activate
make test