# GitHub Actions runners for Python and Django CI

Python and Django CI suites combine CPU-bound test runners with database service containers on every pull request.

## Why teams run these workloads on Coreload

- **Python on CPU (pytest):** Python is preinstalled, where `actions/setup-python` finds it.
- **Service containers supported.** Postgres, Redis and other `services:` containers run inside each job's own isolated VM.
- **Per-second prepaid billing.** Billed by the second of VM time (including checkout and dependency setup) with no monthly plan fee or per-seat charge.
- **Clean isolation on every run.** Each job starts in a fresh VM; the VM is destroyed and its scratch disk is removed on job exit (if unmount fails, the agent retains the work directory after VM exit and retries cleanup).

## Start with one job

### 1. Install the GitHub App

[Install the GitHub App](https://github.com/apps/coreload-ci/installations/new) on your organization and choose the repositories. Installing the App turns your
organization on unless the installation is held for review; buy credit at [app.coreload.com](https://app.coreload.com). See the [quickstart](https://coreload.com/quickstart/) for each step.

### 2. Swap one `runs-on` line

```yaml
jobs:
  pytest:
    runs-on: coreload-fast-4core-8thread-16gb
    services:
      postgres:
        image: postgres:16
        env:
          POSTGRES_PASSWORD: postgres
        ports:
          - 5432:5432
        options: >-
          --health-cmd pg_isready
          --health-interval 10s
          --health-timeout 5s
          --health-retries 5
    steps:
      - uses: actions/checkout@v4
      - run: pip install -r requirements.txt
      - run: pytest
        env:
          PGHOST: 127.0.0.1
          PGPORT: "5432"
          PGUSER: postgres
          PGPASSWORD: postgres
          PGDATABASE: postgres
```

Keep your existing virtual-environment or dependency installation step (such as `pip install`, `uv sync`, or `poetry install`) before running `pytest` or `manage.py test`.

## Sizes available today

Coreload Fast

| `runs-on:` | Machine | Price |
| --- | --- | --- |
| `coreload-fast-2core-4thread-8gb` | 2 cores (4 CPUs) · 8 GiB | $0.0024 / min |
| `coreload-fast-4core-8thread-16gb` | 4 cores (8 CPUs) · 16 GiB | $0.0048 / min |
| `coreload-fast-8core-16thread-32gb` | 8 cores (16 CPUs) · 32 GiB | $0.0088 / min |
| `coreload-fast-2core-4thread-8gb-iso` | 2 cores (4 CPUs) · 8 GiB | $0.00264 / min |
| `coreload-fast-4core-8thread-16gb-iso` | 4 cores (8 CPUs) · 16 GiB | $0.00528 / min |
| `coreload-fast-8core-16thread-32gb-iso` | 8 cores (16 CPUs) · 32 GiB | $0.00968 / min |

## What works and what to keep in mind

- **Docker.** Docker works in Coreload jobs: each job gets its own VM and starts its own Docker daemon. `docker build` (BuildKit, multi-stage builds), service containers (`services:`) and container jobs (`container:`) work too.
- **The image.** Coreload jobs run on our image, built on GitHub's official actions-runner image, with Go, Node.js and Python preinstalled, but not GitHub's full software list: install anything else in the job.
- **Caching.** A job's artifact and cache calls may go to a Coreload relay on the machine, or straight to GitHub. Through the relay, artifact calls go on to GitHub with the job's own token, and cache calls go to a Coreload service on the machine without it and miss, since there is no Coreload cache yet.
- **Additional system packages:** Install any apt or native library beyond Python, Go, Node.js, Bun and `build-essential` inside the job.
- **Security.** Read our [security model](https://coreload.com/security/) or check live rates on [pricing](https://coreload.com/pricing/). [Coreload is SOC 2 Type 1 compliant: an independent auditor's report as of November 1, 2026, covering Security, Confidentiality and Availability.](https://trust.inc/coreload-llc)
