mirror of
https://github.com/carrotquest/django-clickhouse.git
synced 2024-11-25 02:23:45 +03:00
3fba185be2
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
1.2 KiB
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
- Redis
- Yandex ClickHouse
- PostgreSQL
- Pypi libraries listed in
requirements-test.txt
file
Running tests
Running in docker
- Install docker and docker-compose
- Run
docker-compose run run_tests
in project directory
Running in virtual environment
- Install all requirements listed above
- Create virtual environment
- Install requirements
pip3 install -U -r requirements-test.txt
- Start tests
python3 runtests.py