Skip to content

Commit 129dd0f

Browse files
create and run venv in the beginning of the pipeline
1 parent a5bc88d commit 129dd0f

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/packing.yml

+6-9
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,12 @@ jobs:
491491
- name: Remove connector source code
492492
run: python3 .github/scripts/remove_source_code.py
493493

494+
- name: Create venv
495+
run: |
496+
apt install -y python3-venv
497+
python3 -m venv .venv
498+
. .venv/bin/activate
499+
494500
- name: Install tarantool ${{ matrix.tarantool }}
495501
run: |
496502
apt install -y curl
@@ -510,28 +516,19 @@ jobs:
510516
env:
511517
DEBIAN_FRONTEND: noninteractive
512518

513-
- name: Create venv
514-
run: |
515-
apt install -y python3-venv
516-
python3 -m venv .venv
517-
518519
- name: Install test requirements
519520
run: |
520-
. .venv/bin/activate
521521
pip3 install -r requirements-test.txt
522522
523523
- name: Install the crud module for testing purposes
524524
run: |
525-
. .venv/bin/activate
526525
curl -L https://tarantool.io/release/2/installer.sh | bash
527526
apt install -y tt
528527
pip3 install cmake==3.15.3
529528
tt rocks install crud
530529
531530
- name: Run tests
532531
run: |
533-
. .venv/bin/activate
534-
pip3 install pyyaml
535532
make test-pure-install
536533
537534
publish_deb:

0 commit comments

Comments
 (0)