django-clickhouse/docs/development.md
M1ha Shvn 3fba185be2
GitHub actions testing (#29)
1. Moved testing from TravisCI to GitHub Actions
2. Added linter and fixed most style errors
3. Added development section to README
4. Added docker testing environment
2021-07-08 12:27:35 +05:00

1.2 KiB

Development

Basic info

This is an Open source project developed by Carrot quest team under MIT license. Feel free to create issues and make pull requests.
Query and database system wraps infi.clickhouse_orm library. If you want to develop QuerySet system, it is better to contribute there.

General info about testing

Library test system is based on django.test. You can find them in tests directory.

Tests requirements

Running tests

Running in docker

  1. Install docker and docker-compose
  2. Run docker-compose run run_tests in project directory

Running in virtual environment

  1. Install all requirements listed above
  2. Create virtual environment
  3. Install requirements
    pip3 install -U -r requirements-test.txt
  4. Start tests
    python3 runtests.py