File tree Expand file tree Collapse file tree 3 files changed +26
-7
lines changed Expand file tree Collapse file tree 3 files changed +26
-7
lines changed Original file line number Diff line number Diff line change 46
46
python -m pip install --upgrade pip
47
47
python -m pip install ".[test,devel]"
48
48
49
- - name : Test
50
- run : |
51
- isort --check --diff crate/ tests/ setup.py
52
- flake8 crate/crash
53
- coverage run -m unittest -v
49
+ - name : Lint & test
50
+ run : ./devtools/ci.sh
54
51
55
52
pypi :
56
53
name : Build & publish package to pypi
Original file line number Diff line number Diff line change @@ -18,9 +18,25 @@ Afterwards you can launch crash::
18
18
19
19
crash
20
20
21
+ Continuous Integration
22
+ ======================
23
+
24
+ You can run all CI steps using::
25
+
26
+ ./devtools/ci.sh
27
+
28
+ Individual steps are described below.
29
+
30
+ Linting
31
+ -------
32
+
33
+ You can check if your code is compliant to the project's standard using::
34
+
35
+ isort --check --diff crate/ tests/ setup.py
36
+ flake8 crate/crash
21
37
22
38
Running Tests
23
- =============
39
+ -------------
24
40
25
41
The tests are run using the `unittest `_ module::
26
42
@@ -42,7 +58,6 @@ To run against a single interpreter, you can also do::
42
58
43
59
tox -e py33
44
60
45
-
46
61
Standalone Executable
47
62
=====================
48
63
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ set -e -x
4
+
5
+ isort --check --diff crate/ tests/ setup.py
6
+ flake8 crate/crash
7
+ coverage run -m unittest -v
You can’t perform that action at this time.
0 commit comments