Skip to content

Commit f0ca714

Browse files
run_tests_deb: try to run all steps under venv
1 parent 129dd0f commit f0ca714

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/packing.yml

+10-5
Original file line numberDiff line numberDiff line change
@@ -495,10 +495,15 @@ jobs:
495495
run: |
496496
apt install -y python3-venv
497497
python3 -m venv .venv
498+
499+
- name: Install test requirements
500+
run: |
498501
. .venv/bin/activate
502+
pip3 install -r requirements-test.txt
499503
500504
- name: Install tarantool ${{ matrix.tarantool }}
501505
run: |
506+
. .venv/bin/activate
502507
apt install -y curl
503508
curl -L https://tarantool.io/release/2/installer.sh | bash
504509
apt install -y tarantool tarantool-dev
@@ -512,23 +517,23 @@ jobs:
512517
path: deb_dist
513518

514519
- name: Install the package from deb artifacts
515-
run: apt install -y `pwd`/deb_dist/python3-tarantool_*.deb
520+
run: |
521+
. .venv/bin/activate
522+
apt install -y `pwd`/deb_dist/python3-tarantool_*.deb
516523
env:
517524
DEBIAN_FRONTEND: noninteractive
518525

519-
- name: Install test requirements
520-
run: |
521-
pip3 install -r requirements-test.txt
522-
523526
- name: Install the crud module for testing purposes
524527
run: |
528+
. .venv/bin/activate
525529
curl -L https://tarantool.io/release/2/installer.sh | bash
526530
apt install -y tt
527531
pip3 install cmake==3.15.3
528532
tt rocks install crud
529533
530534
- name: Run tests
531535
run: |
536+
. .venv/bin/activate
532537
make test-pure-install
533538
534539
publish_deb:

0 commit comments

Comments
 (0)