-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
66 lines (45 loc) · 1.42 KB
/
Makefile
File metadata and controls
66 lines (45 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
.PHONY: install test build dist sdist bdist_wheel upload upload-test test-release bump clean test-docker test-docker-clean test-langfuse-real test-mobile test-mobile-quick test-mobile-performance test-mobile-compatibility test-mobile-engine test-mobile-templates test-mobile-workflows
install:
pip install -r requirements.txt
test:
pytest
build:
python setup.py sdist bdist_wheel
dist: build
@echo "Distribution created in dist/"
sdist:
python setup.py sdist
bdist_wheel:
python setup.py bdist_wheel
upload: build
twine upload dist/*
upload-test: build
twine upload --repository testpypi dist/*
test-release: bump clean build
@set -a; [ -f $(HOME)/.env ] && . $(HOME)/.env; set +a; \
twine upload --repository testpypi dist/*
bump:
python bump.py
clean:
rm -rf build/ dist/ *.egg-info **/*.egg-info
test-docker:
cd tests && ./run_docker_tests.sh
test-docker-clean:
docker rmi coaiapy-test || true
test-langfuse-real:
cd tests && ./run_real_langfuse_tests.sh
# Mobile Template Engine Test Suite
test-mobile:
python tests/run_all_tests.py
test-mobile-quick:
python tests/run_all_tests.py quick
test-mobile-performance:
python tests/run_all_tests.py performance
test-mobile-compatibility:
python tests/run_all_tests.py compatibility
test-mobile-engine:
python tests/run_all_tests.py engine
test-mobile-templates:
python tests/run_all_tests.py templates
test-mobile-workflows:
python tests/run_all_tests.py workflows