Skip to content

Commit 46fe11f

Browse files
make: target for test pure install
Part of #198
1 parent 26454b0 commit 46fe11f

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/testing.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,7 @@ jobs:
195195
run: pip3 install -r requirements-test.txt
196196

197197
- name: Run tests
198-
run: python3 -m unittest discover -v
199-
env:
200-
TEST_PURE_INSTALL: true
198+
run: make test-pure-install
201199

202200
run_tests_ce_windows:
203201
# We want to run on external PRs, but not on our own internal
@@ -341,8 +339,7 @@ jobs:
341339
env:
342340
REMOTE_TARANTOOL_HOST: localhost
343341
REMOTE_TARANTOOL_CONSOLE_PORT: 3302
344-
TEST_PURE_INSTALL: true
345-
run: python3 -m unittest discover -v
342+
run: make test-pure-install
346343

347344
- name: Stop test tarantool instance
348345
if: ${{ always() }}

Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ install:
77
test:
88
python3 setup.py test
99

10+
.PHONY: test-pure-install
11+
test-pure-install:
12+
TEST_PURE_INSTALL=true python3 -m unittest discover -v
13+
1014
.PHONY: testdata
1115
testdata:
1216
cd ./test/data/; ./generate.sh

0 commit comments

Comments
 (0)