chore: Bump pylon service version in the validator runner to 1.1.1 #2294
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: Compute Horde SDK CI | |
| on: | |
| push: | |
| branches: [master, main] | |
| pull_request: | |
| env: | |
| PYTHON_DEFAULT_VERSION: "3.11" | |
| jobs: | |
| linter: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./compute_horde_sdk | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ env.PYTHON_DEFAULT_VERSION }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ env.PYTHON_DEFAULT_VERSION }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| version: "0.8.x" | |
| enable-cache: true | |
| - name: Install dependencies | |
| run: uv tool install nox | |
| - name: Run linters | |
| run: nox -vs lint | |
| type_check: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./compute_horde_sdk | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ env.PYTHON_DEFAULT_VERSION }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ env.PYTHON_DEFAULT_VERSION }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| version: "0.8.x" | |
| enable-cache: true | |
| - name: Install dependencies | |
| run: uv tool install nox | |
| - name: Run linters | |
| run: nox -vs type_check | |
| test: | |
| timeout-minutes: 10 | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: ["ubuntu-latest"] | |
| python-version: ["3.10", "3.11", "3.12"] | |
| defaults: | |
| run: | |
| working-directory: ./compute_horde_sdk | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| version: "0.8.x" | |
| enable-cache: true | |
| - name: Install dependencies | |
| run: uv tool install nox | |
| - name: Run unit tests | |
| run: nox -vs test |