File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -510,8 +510,17 @@ jobs:
510510 env :
511511 DEBIAN_FRONTEND : noninteractive
512512
513- - name : Install test requirements
514- run : pip3 install -r requirements-test.txt
513+ - name : Install test requirements
514+ run : pip3 install -r requirements-test.txt
515+ if : matrix.target.os == 'ubuntu'
516+
517+ - name : Install test requirements
518+ run : |
519+ apt install -y python3.11-venv
520+ python3 -m venv .venv
521+ .venv/bin/activate
522+ pip3 install -r requirements-test.txt
523+ if : matrix.target.os == 'debian'
515524
516525 - name : Install the crud module for testing purposes
517526 run : |
@@ -522,6 +531,13 @@ jobs:
522531
523532 - name : Run tests
524533 run : make test-pure-install
534+ if : matrix.target.os == 'ubuntu'
535+
536+ - name : Run tests
537+ run : |
538+ .venv/bin/activate
539+ make test-pure-install
540+ if : matrix.target.os == 'debian'
525541
526542 publish_deb :
527543 if : startsWith(github.ref, 'refs/tags')
You can’t perform that action at this time.
0 commit comments