Skip to content

try to match infra cicd #6

try to match infra cicd

try to match infra cicd #6

name: Config Explorer Test
on: [push, pull_request]
jobs:
config-explorer-pytest:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r config_explorer/requirements.txt
- name: Test with pytest
run: |
pip install pytest pytest-cov
pytest -s config_explorer/tests/ --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html