b8b5c02d66
weldr-client has replaced composer-cli so remove all of the code and
tests, adjust various things so they don't expect it to be available,
and rename some things like test/composertest.py to reflect its
exclusive use by lorax.
(cherry picked from commit b75b692607
)
31 lines
547 B
Markdown
31 lines
547 B
Markdown
# Hacking on Lorax
|
|
|
|
Here's where to get the code:
|
|
|
|
$ git clone https://github.com/weldr/lorax
|
|
$ cd lorax/
|
|
|
|
How to build it:
|
|
|
|
$ make
|
|
|
|
## How to run the tests
|
|
|
|
To run the tests you need the following dependencies installed:
|
|
|
|
$ yum install python3-nose python3-pytest-mock python3-pocketlint \
|
|
python3-mock python3-magic
|
|
|
|
Run the basic linting tests like this:
|
|
|
|
$ make check
|
|
|
|
|
|
To run the broader unit and integration tests we use:
|
|
|
|
$ make test
|
|
|
|
The tests may also be run using a podman container:
|
|
|
|
$ make test-in-podman
|