Fix reportdb update with container #1608
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |