Show More
@@ -37,31 +37,6 b' test-only:' | |||
|
37 | 37 | --cov=rhodecode rhodecode |
|
38 | 38 | |
|
39 | 39 | |
|
40 | .PHONY: test-only-mysql | |
|
41 | ## run tests against mysql | |
|
42 | test-only-mysql: | |
|
43 | PYTHONHASHSEED=random \ | |
|
44 | py.test -x -vv -r xw -p no:sugar \ | |
|
45 | --cov-report=term-missing --cov-report=html \ | |
|
46 | --ini-config-override='{"app:main": {"sqlalchemy.db1.url": "mysql://root:qweqwe@localhost/rhodecode_test?charset=utf8"}}' \ | |
|
47 | --cov=rhodecode rhodecode | |
|
48 | ||
|
49 | ||
|
50 | .PHONY: test-only-postgres | |
|
51 | ## run tests against postgres | |
|
52 | test-only-postgres: | |
|
53 | PYTHONHASHSEED=random \ | |
|
54 | py.test -x -vv -r xw -p no:sugar \ | |
|
55 | --cov-report=term-missing --cov-report=html \ | |
|
56 | --ini-config-override='{"app:main": {"sqlalchemy.db1.url": "postgresql://postgres:qweqwe@localhost/rhodecode_test"}}' \ | |
|
57 | --cov=rhodecode rhodecode | |
|
58 | ||
|
59 | .PHONY: ruff-check | |
|
60 | ## run a ruff analysis | |
|
61 | ruff-check: | |
|
62 | ruff check --ignore F401 --ignore I001 --ignore E402 --ignore E501 --ignore F841 --exclude rhodecode/lib/dbmigrate --exclude .eggs --exclude .dev . | |
|
63 | ||
|
64 | ||
|
65 | 40 | .PHONY: docs |
|
66 | 41 | ## build docs |
|
67 | 42 | docs: |
General Comments 0
You need to be logged in to leave comments.
Login now