v1.0.0: experimental measurement validation, Production/Stable #10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: ["**"] | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 45 | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12"] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -e ".[all]" | |
| - name: Run tests | |
| run: python -m pytest tests/ -q | |
| - name: Run validation suite | |
| run: python -m validation.validate_all | |
| - name: Run literature validation | |
| run: python benchmarks/literature_validation.py | |
| - name: Run real-world chip validation | |
| run: python benchmarks/real_world_validation.py | |
| - name: Run experimental measurement validation | |
| run: python benchmarks/experimental_validation.py | |
| security: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" | |
| - name: Install dependencies and pip-audit | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -e ".[all]" | |
| python -m pip install pip-audit | |
| - name: Dependency audit | |
| run: pip-audit |