Skip to content

feat: demo setting n_workers #23

feat: demo setting n_workers

feat: demo setting n_workers #23

Workflow file for this run

name: ci
on:
push:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
id: setup-python
uses: actions/setup-python@v4
- name: Cache virtualenv
id: cache-venv
uses: actions/cache@v3
with:
path: .venv
key: ${{ runner.os }}-py${{ steps.setup-python.outputs.python-version }}-venv-${{ hashFiles('pyproject.toml') }}
- name: Cache pre-commit
id: cache-pre-commit
uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: ${{ runner.os }}-py${{ steps.setup-python.outputs.python-version }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
- name: Run make install
if: steps.cache-venv.outputs.cache-hit != 'true'
run: make install
- run: make check test
- name: install k3d
run: curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash
- run: make cluster
- run: make kubes-minio
- run: make kubes-prefect
- run: make deploy
- run: make run
- name: Start sshx session on failed manual attempt
if: ${{ failure() && (github.event_name == 'workflow_dispatch' || github.run_attempt > 1) }}
run: curl -sSf https://sshx.io/get | sh && sshx