File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 2222 npm install -g markdownlint-cli
2323 make install-dev
2424
25- - name : Run code quality checks
26- run : make check-all
27-
28- - name : Test with pytest
29- run : make test-cov
25+ - name : Run all checks and tests
26+ run : make all
3027
3128 - name : Upload coverage to Codecov
3229 uses : codecov/codecov-action@v3
Original file line number Diff line number Diff line change 1- .PHONY : help install install-dev check-format fix-format check-lint fix-lint check-type check-all fix-all test test-cov clean pre-commit
1+ .PHONY : help install install-dev check-format fix-format check-lint fix-lint check-type check-all fix-all test test-cov clean all pre-commit
22
33help : # # Show this help message
44 @grep -E ' ^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST ) | sort | awk ' BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
@@ -52,8 +52,13 @@ clean:
5252 find . -type f -name " *.pyc" -delete
5353 find . -type d -name " __pycache__" -delete
5454 find . -type d -name " *.egg-info" -exec rm -rf {} +
55- rm -rf .coverage/ .pytest_cache/ .mypy_cache/
55+ rm -rf .coverage/ .pytest_cache/ .mypy_cache/ .ruff_cache/
5656
5757# Run pre-commit hooks
5858pre-commit :
5959 pre-commit run --all-files
60+
61+ # Run all checks and tests with coverage
62+ all :
63+ make check-all
64+ make test-cov
You can’t perform that action at this time.
0 commit comments