Skip to content

feat: add stronger State Integrity validation #6

feat: add stronger State Integrity validation

feat: add stronger State Integrity validation #6

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install package and test tools
run: |
python -m pip install --upgrade pip
python -m pip install -e . pytest
- name: Run tests
run: pytest -q
- name: Exercise CLI snapshot
run: sourceos-syncd health snapshot --compact > /tmp/sourceos-syncd.snapshot.json
- name: Exercise CLI explain
run: sourceos-syncd health explain --file examples/health/healthy.snapshot.json --compact
- name: Exercise CLI verify
run: sourceos-syncd health verify --file examples/health/healthy.snapshot.json --compact
- name: Exercise repair plan preview
run: sourceos-syncd repair plan --file examples/health/degraded.snapshot.json --compact > /tmp/sourceos-syncd.repair-plan.json