Skip to main content

Mangono runbot (Odoo tester)

This project all the source code relative to the process to test Odoo in the mangono way.

This project support Odoo version 12.0 to 18.0.

The complete documentation is available on atlas

Use it as a GitLab CI Components

include:
  - component: $CI_SERVER_FQDN/gitlab-ci/odoo-quality/runbot@1
    inputs:
      odoo-version: "18.0"

See this component page for more information

Run tests

You can simply run test with

hatch -e test test

If you want to run the runbot on a particular version you can

docker compose run --rm -it runbot18

Build lib

hatch build

Use it with mise (without Docker Odoo image)

Use the runbot-mise component if your runner already has mise available and you prefer not to depend on a pre-built Odoo Docker image:

include:
  - component: $CI_SERVER_FQDN/gitlab-ci/odoo-quality/runbot-mise@1
    inputs:
      odoo-version: "18.0"
      tag: "my-runner"

The component uses registry.mangono.io/dockers/clevertools-batteries as the base image. It calls mise run build to set up the Odoo venv, then delegates to mise run odoo:runbot.

Required mise tasks (in the consuming project)

The consuming project must expose two tasks in its mise.toml / tasks/ directory:

  • build — downloads Odoo and sets up the Python venv
  • odoo:runbot — runs the full runbot sequence (diag → init → run → report)

To create odoo:runbot as a file-based task (recommended), add tasks/odoo/runbot to the consuming project (see odoo-mise-linux):

#!/usr/bin/env bash
# mise description="Lance le runbot Odoo (diag → init → run → report)"
set -e
odoo-runbot --verbose --workdir="${RUNBOT_WORKDIR:-.}" --config="${RUNBOT_CONFIG:-}" diag
export DB_HOST="${DB_HOST:-database}"
odoo-runbot --verbose --workdir="${RUNBOT_WORKDIR:-.}" --config="${RUNBOT_CONFIG:-}" init
odoo-runbot --workdir="${RUNBOT_WORKDIR:-.}" --config="${RUNBOT_CONFIG:-}" run ${RUNBOT_ARGS:-} || EXIT=$?
echo "Execute coverage report in ${RUNBOT_WORKDIR:-.}/runbot_result"
odoo-runbot --workdir="${RUNBOT_WORKDIR:-.}" --config="${RUNBOT_CONFIG:-}" report
exit ${EXIT:-0}

Configuration is done via [env] in mise.toml:

[env]
RUNBOT_WORKDIR = "odoo_project"
RUNBOT_CONFIG  = "odoo_project/pyproject.toml"

Build Doc

You can build python code as doc with mkdoc, you only need to run

hatch -e doc run mkdocs build # or server

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

odoo_runbot-1.8.10.tar.gz (147.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

odoo_runbot-1.8.10-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

Details for the file odoo_runbot-1.8.10.tar.gz.

File metadata

  • Download URL: odoo_runbot-1.8.10.tar.gz
  • Upload date:
  • Size: 147.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for odoo_runbot-1.8.10.tar.gz
Algorithm Hash digest
SHA256 54ee0e6d3e7ad3a62c018860ef7c9408cd5e79cd2be0921c52f2e8dab55b525f
MD5 9b85ef8696b5b71b602a21c2521684e5
BLAKE2b-256 674056636a58db8ce7f2518901164150265a53b4bb0e5db91f855f1a408d3522

See more details on using hashes here.

File details

Details for the file odoo_runbot-1.8.10-py3-none-any.whl.

File metadata

  • Download URL: odoo_runbot-1.8.10-py3-none-any.whl
  • Upload date:
  • Size: 25.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for odoo_runbot-1.8.10-py3-none-any.whl
Algorithm Hash digest
SHA256 54831d023dc8ea17a3618e46d523585091c571b43794eb2d209b285204dcc24b
MD5 fc4f44dbf6058fd5dbf2ca93e4d2b6d9
BLAKE2b-256 2fc7dcec6c40ec785cd5301297d85bb81885d97922430455ed4c1024a69b757c

See more details on using hashes here.

Release history Release notifications | RSS feed

1.9.2

2 files

1.9.1

2 files

1.9.0

2 files

1.8.12

2 files

1.8.11

2 files

This release

1.8.10 This release

2 files

1.8.9

2 files

1.8.8

2 files

1.8.7

2 files

1.8.6

2 files

1.8.5

2 files

1.8.4

2 files

1.8.3

2 files

1.8.2

2 files

1.8.1

2 files

1.8.0

2 files

1.7.3

2 files

1.7.2

2 files

1.7.1

2 files

1.7.0

2 files

1.6.3

2 files

1.6.2

2 files

1.6.1

2 files

1.6.0

2 files

1.5.0

2 files

1.4.0

2 files

1.3.9

2 files

1.3.8

2 files

1.3.7

2 files

1.3.6

2 files

1.3.5

2 files

1.3.4

2 files

1.3.3

2 files

1.3.1

2 files

1.3.0

2 files

1.2.2

2 files

1.2.1

2 files

1.2.0

2 files

1.1.3

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page