Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abichinger/odoocker
Run odoo tests inside a docker container
https://github.com/abichinger/odoocker
cicd docker odoo odoo-development odoo-docker openerp
Last synced: about 1 month ago
JSON representation
Run odoo tests inside a docker container
- Host: GitHub
- URL: https://github.com/abichinger/odoocker
- Owner: abichinger
- Created: 2024-05-29T18:32:58.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-10-28T00:17:53.000Z (2 months ago)
- Last Synced: 2024-10-28T04:12:29.504Z (2 months ago)
- Topics: cicd, docker, odoo, odoo-development, odoo-docker, openerp
- Language: Go
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Odoocker
Odoocker is a CLI app to run odoo tests. It creates a docker container for PostgreSQL and Odoo. Then it installs the modules and runs the specified tests.
## Requirements
Ensure that docker is installed.
## Install
### Go install
Use `go install` to build and install odoocker.
```sh
go install github.com/abichinger/odoocker
```### Binary
You can download the latest binary from the [Github releases](https://github.com/abichinger/odoocker/releases) page.
## Usage
```sh
$> odoocker -help
odoocker v1.0.0 - Setup and run odoo inside a docker containerAvailable commands:
test Run odoo tests
run Runs a one-time command inside the odoo containerodoocker test - Run odoo tests
Flags:-addons string
path to odoo addons folder or a single addon (default ".")
-help
Get help on the 'odoocker test' command.
-m value
List of modules to install
-pg string
(default "15")
-t value
odoo test-tags
-tempdir string
temporary directory (default ".odoocker")
-term
is terminal (default true)
-tour
installs websocket-client and chrome
-v string
Odoo version (default "latest")
-verbose
verbose output
```