Skip to content

Commit 7b755e7

Browse files
try to activate venv
1 parent ab3b3e1 commit 7b755e7

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/packing.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -510,9 +510,9 @@ jobs:
510510

511511
- name: Install test requirements
512512
run: |
513-
apt install -y python3.11-venv
514-
python3 -m venv create tempenv
515-
tempenv/bin/python3 -m pip install -r requirements-test.txt
513+
python3 -m venv .venv
514+
source .venv/bin/activate
515+
pip3 install -r requirements-test.txt
516516
if: matrix.target.os == 'debian'
517517

518518
- name: Install the crud module for testing purposes
@@ -522,7 +522,9 @@ jobs:
522522
tt rocks install crud 1.4.2
523523
524524
- name: Run tests
525-
run: make test-pure-install
525+
run: |
526+
source .venv/bin/activate
527+
make test-pure-install
526528
527529
publish_deb:
528530
if: startsWith(github.ref, 'refs/tags')

0 commit comments

Comments
 (0)