feat(scaffold): Add SCAFFOLD fed learning algorithm with control variates #472
Workflow file for this run
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: | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| mypy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13" | |
| - name: Install tox | |
| run: pip install tox | |
| - name: Run mypy | |
| run: tox -e mypy | |
| pytest-macos-latest: | |
| runs-on: "macos-latest" | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13" | |
| - name: Install tox | |
| run: pip install tox | |
| - name: Run pytest | |
| run: tox -e pytest | |
| pytest-ubuntu-latest: | |
| runs-on: "ubuntu-latest" | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13" | |
| - name: Install tox | |
| run: pip install tox | |
| - name: Run pytest | |
| run: tox -e pytest | |
| pytest-windows-latest: | |
| runs-on: "windows-latest" | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13" | |
| - name: Install tox | |
| run: pip install tox | |
| - name: Run pytest | |
| run: tox -e pytest | |
| ruff: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13" | |
| - name: Install tox | |
| run: pip install tox | |
| - name: Run ruff | |
| run: tox -e ruff | |
| sphinx: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13" | |
| - name: Install tox | |
| run: pip install tox | |
| - name: Run sphinx | |
| run: tox -e sphinx | |
| - name: Check git diff | |
| run: git diff --exit-code || { echo 'Error - Docs are stale, please regenerate with `tox -e sphinx`.'; exit 1; } |