File tree Expand file tree Collapse file tree 2 files changed +14
-13
lines changed Expand file tree Collapse file tree 2 files changed +14
-13
lines changed Original file line number Diff line number Diff line change @@ -7,20 +7,10 @@ changes manually.
7
7
## Running tests and linters
8
8
9
9
Make sure you have ` virtualenv ` installed, and the Python versions you care
10
- about. You should have at least one version of Python 2 and Python 3 installed.
10
+ about. You should have Python 2.7 and the latest Python 3 installed.
11
11
12
12
You don't need to ` workon ` or ` activate ` anything, the ` Makefile ` will create
13
- one for you.
14
-
15
- * Running basic tests without integrations: ` make test ` (Python 2.7 and 3.7)
16
- * Running all tests: ` make test-all `
17
-
18
- This really runs all tests, for all integrations, for all version
19
- combinations we care about. This is the closest you can get to the CI build,
20
- provided you have all relevant Python versions installed.
21
-
22
- * Running linting: ` make check ` or ` make lint `
23
- * Running autoformatting: ` make format `
13
+ one for you. Run ` make ` or ` make help ` to list commands.
24
14
25
15
## Releasing a new version
26
16
Original file line number Diff line number Diff line change @@ -2,6 +2,17 @@ SHELL = /bin/bash
2
2
3
3
VENV_PATH = .venv
4
4
5
+ help :
6
+ @echo " Thanks for your interest in the Sentry Python SDK!"
7
+ @echo
8
+ @echo " make lint: Run linters"
9
+ @echo " make test: Run basic tests (not testing most integrations)"
10
+ @echo " make test-all: Run ALL tests (slow, closest to CI)"
11
+ @echo " make format: Run code formatters (destructive)"
12
+ @echo
13
+ @echo " Also make sure to read ./CONTRIBUTING.md"
14
+ @false
15
+
5
16
.venv :
6
17
virtualenv $(VENV_PATH )
7
18
$(VENV_PATH ) /bin/pip install tox
@@ -25,7 +36,7 @@ test-all: .venv
25
36
@TOXPATH=$(VENV_PATH ) /bin/tox sh ./scripts/runtox.sh
26
37
.PHONY : test-all
27
38
28
- check : lint
39
+ check : lint test
29
40
.PHONY : check
30
41
31
42
lint : .venv
You can’t perform that action at this time.
0 commit comments