Skip to content

audit: add end-to-end CLI test for schema property validation #296

audit: add end-to-end CLI test for schema property validation

audit: add end-to-end CLI test for schema property validation #296

Workflow file for this run

name: Continuous Integration
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12", "3.13"]
fail-fast: false
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y device-tree-compiler
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: |
chmod +x scripts/run_tests.sh
./scripts/run_tests.sh
- name: Upload test output on failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-output-py${{ matrix.python-version }}
path: test_output.txt
retention-days: 7