$ TERM='' make -s help
Usage:
make <target>
code
verify run all verifications
test run tests
format run formatter
lint run linter
artifact
install install package locally
dist generate package artifacts
docs generate documentation
deploy deploy Python package to PyPI
general
deps install dependencies
clean clean environment
The tests are running with pytest inside of a docker-compose container
make test
# Run a specific test file with TEST=</path/to/file>
TEST=./tests/test_github.py make test
# Run a tests matching an expression TEST_FUNC=<expression>
TEST_FUNC="invalid" make test
# Add more verbose logs
LOGLEVEL=debug make testuv run mercado --helpmake install
mercado --helpI use nektos/act tool to run the Git Hub Action locally.
act -j <JOB>In order to run a specific test, set the appropriate OS and environment variable
act -j test --env TEST_FUNC=k3d --matrix os:ubuntu-latestWhen local execution does not help, we can enable a remote debug with tmate
gh workflow run Test --ref <branch_name> -f debug_enabled=trueGenerate the README with cog
- Install dist locally
- Run inside virtualenv
make docsRecord video with asciinema
asciinema rec docs/demo.cast
mercado is-latest kind
mercado install kind
mercado show kind
mercado list --label k8s --verbose --all
ctrl + dThen use gifcast to convert the .cast file to .gif
shave 10 rows from the bottom and 5 from the right.