Skip to content

Config Parsing Pytests PR #2158 #930

Config Parsing Pytests PR #2158

Config Parsing Pytests PR #2158 #930

name: Test Matrix Logic
run-name: "Config Parsing Pytests PR #${{ github.event.pull_request.number }}"
on:
pull_request:
paths:
- 'utils/matrix_logic/**'
permissions:
contents: read
jobs:
test:
if: github.event.pull_request.draft != true
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Set up Python
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pydantic pyyaml
- name: test_generate_sweep_configs tests
run: |
cd utils/matrix_logic
pytest test_generate_sweep_configs.py -v
- name: test_validation tests
run: |
cd utils/matrix_logic
pytest test_validation.py -v