Skip to content

Commit 6e24a05

Browse files
committed
[python-conprof] migrate pipeline to gitlab-ci
1 parent 3a94608 commit 6e24a05

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

Makefile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,14 @@ WHEEL_DIR ?= wheel_dist
55
PYTHON_VERSION?=3.13
66

77
COMPOSE=docker compose
8+
ON_PYTHON=$(COMPOSE) run --rm --build python
89

910
clean: ## cleans the build artifacts
1011
rm -Rf build/ dist/ *.egg-info $(WHEEL_DIR)
1112
.PHONY: clean
1213

13-
install: ## install dependencies
14-
pip install .
15-
.PHONY: install
16-
17-
test: install
18-
python -m unittest discover -vf
14+
test:
15+
$(ON_PYTHON) ./scripts/test.sh
1916
.PHONY: test
2017

2118
update-version:

scripts/test.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
3+
pip install .
4+
5+
python -m unittest discover -vf

0 commit comments

Comments
 (0)