Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 854 Bytes

CONTRIBUTING.md

File metadata and controls

38 lines (31 loc) · 854 Bytes

Contributing

Running the tests

This project requires that a MySQL/Maria database be running. The test suite assumes the password will be djAssertModelQueries3.

docker run --detach --name mariadb -e MYSQL_ROOT_PASSWORD=djAssertModelQueries3 --publish 3306:3306 mariadb:11.4
  1. Install uv
  2. Create a virtualenv
uv venv
source .venv/bin/activate
  1. Install tox
uv pip install tox
  1. Run the tests
tox -f py313 # If you want to run tests for a specific version of python
tox # If you want to run all tests

Updating dependencies

To update the test dependencies, there's a helper compile script.

cd tests/requirements
uv run python -m compile
cd ..
git add tests/requirements/*
git commit