File tree Expand file tree Collapse file tree 3 files changed +13
-6
lines changed Expand file tree Collapse file tree 3 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ exclude_lines =
9
9
pragma: no cover
10
10
11
11
# ignore pass statements that are not run:
12
- # sometimes you need them to make a block (especially for unittetsts )
12
+ # sometimes you need them to make a block (especially for unittests )
13
13
# need to be really careful with this one because 'pass' shows up in other places as well
14
14
\spass\s
15
15
\spass$
@@ -28,4 +28,9 @@ exclude_lines =
28
28
29
29
ignore_errors = True
30
30
31
- omit = .tox/*
31
+ omit =
32
+ .tox/*
33
+ */tests/*
34
+ */ctypes/*
35
+ six.py
36
+ pyparsing.py
Original file line number Diff line number Diff line change 20
20
- name : Install dependencies
21
21
run : |
22
22
python -m pip install --upgrade pip
23
- pip install tox tox-gh-actions
23
+ pip install tox tox-gh-actions coverage
24
24
- name : Test with tox
25
- run : tox
25
+ run : tox
26
+ - name : Upload coverage to Codecov
27
+ uses : codecov/codecov-action@v1
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ setenv =
24
24
PYTHONPATH = {toxinidir}
25
25
26
26
commands =
27
- test: nosetests ./tests # --with-coverage
28
- test: nosetests ./tests/rtllib # --with-coverage
27
+ test: nosetests ./tests --with-coverage
28
+ test: nosetests ./tests/rtllib --with-coverage
29
29
test: pylint -E pyrtl/
30
30
pycodestyle: pycodestyle --max-line-length =100 --ignore =W503 pyrtl/
31
31
pycodestyle: pycodestyle --max-line-length =100 --ignore =W503 examples/
You can’t perform that action at this time.
0 commit comments