SPB Git

Repository Public License Research preview

labs-test.yml 796 B 27 lines yaml

1# Runs every demo and lab test offline, on three operating systems and two Python versions.2# External APIs are never called: labs use mocks and synthetic data.3name: labs-test4on:5  push:6  pull_request:7jobs:8  labs:9    strategy:10      fail-fast: false11      matrix:12        os: [ubuntu-24.04, macos-14, windows-2022]13        python: ["3.10", "3.12"]14    runs-on: ${{ matrix.os }}15    env:16      PYTHONUTF8: "1"17    steps:18      - uses: actions/checkout@v419      - uses: actions/setup-python@v520        with:21          python-version: ${{ matrix.python }}22      - run: pip install -r requirements-dev.txt23      - name: Demos run and match their documented output24        run: python tools/validate_labs.py --demo-only25      - name: Demo and lab tests26        run: python -m pytest -q sessions27
Files main
Menu

Theme