Skip to content

Commit 8bdd430

Browse files
committed
Update CI
1 parent 9664006 commit 8bdd430

2 files changed

Lines changed: 16 additions & 2 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
run: uv sync --locked --group dev
2323

2424
- name: Check code
25-
run: uv run make check
25+
run: uv run make check-ci
2626

2727
- name: Test with Docker
2828
env:

Makefile

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pip-audit:
6565
$(PIP_AUDIT)
6666

6767
# Code quality
68-
.PHONY: slotscheck lint test check
68+
.PHONY: slotscheck lint test check check-ci
6969
slotscheck:
7070
$(SLOTSCHECK) src
7171

@@ -87,6 +87,20 @@ test:
8787
check: lint test
8888
coverage html
8989

90+
check-ci:
91+
ruff check
92+
ruff format --check
93+
tombi format --check
94+
tombi lint
95+
deptry
96+
$(MAKE) slotscheck
97+
lint-imports
98+
mypy
99+
pytest -v \
100+
$(PYTEST_PATHS_LIGHT) \
101+
$(PYTEST_ARGS_COV)
102+
coverage html
103+
90104
# Docker compose
91105
.PHONY: docker-env local-env upd up upd-local up-local down stop-all
92106
docker-env:

0 commit comments

Comments
 (0)