Skip to content

Config Parsing Pytests PR #911 #394

Config Parsing Pytests PR #911

Config Parsing Pytests PR #911 #394

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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.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