Skip to content

Commit

Permalink
add test_ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hhatto committed Aug 6, 2022
1 parent 812ce46 commit 16a4d66
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Makefile
Expand Up @@ -44,6 +44,15 @@ test_fast:
--cov-report term-missing --cov autopep8 test/test_autopep8.py
@rm .pytest.coveragerc .coverage

test_ci:
pytest --cov-report xml --cov=autopep8
@${PYTHON} test/acid.py -aaa --experimental test/example.py
@${PYTHON} test/acid.py -aaa --experimental test/example_with_reduce.py
@${PYTHON} test/acid.py --pycodestyle= -aaa --compare-bytecode --experimental test/example.py
@${PYTHON} test/acid.py --pycodestyle= --aggressive --line-range 550 610 test/inspect_example.py
@${PYTHON} test/acid.py --pycodestyle= --line-range 289 925 test/vectors_example.py
@${PYTHON} test/test_suite.py

coverage:
@coverage erase
@AUTOPEP8_COVERAGE=1 ${COVERAGE} run --branch --parallel-mode --omit='*/site-packages/*' test/test_autopep8.py
Expand Down Expand Up @@ -131,4 +140,4 @@ clean:
.PHONY: \
all clean mutant pypireg test_basic test_unit \
benchmark coverage open_coverage readme test_diff \
check fasttest open_readme test test_fast
check fasttest open_readme test test_fast test_ci

0 comments on commit 16a4d66

Please sign in to comment.