Skip to content

Improve appstreams context selection #1620

Improve appstreams context selection

Improve appstreams context selection #1620

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