Skip to content

Fix reportdb update with container #1608

Fix reportdb update with container

Fix reportdb update with container #1608

name: Run unit tests for susemanager-sls
on:
pull_request:
paths: 'susemanager-utils/susemanager-sls/**/*'
jobs:
susemanager_sls_unit_tests:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install Python dependencies
run: |
python3 -m pip install --upgrade pip
pip install pytest mock pyyaml salt
- name: Run susemanager-sls unit tests
run: |
cd susemanager-utils/susemanager-sls/test/
pytest test_pillar_suma_minion.py
cd ../src/tests
pytest