@@ -408,7 +408,7 @@ jobs:
408
408
if : (github.event_name == 'push') ||
409
409
(github.event_name == 'pull_request' &&
410
410
github.event.pull_request.head.repo.full_name != github.repository)
411
- runs-on : ubuntu-22 .04
411
+ runs-on : ubuntu-24 .04
412
412
413
413
strategy :
414
414
fail-fast : false
@@ -424,6 +424,7 @@ jobs:
424
424
run : |
425
425
sudo apt update
426
426
sudo apt install -y devscripts equivs
427
+ sudo apt install python3-setuptools python3-stdeb dh-python
427
428
428
429
- name : Make changelog entry for non-release build
429
430
if : startsWith(github.ref, 'refs/tags') != true
@@ -515,24 +516,44 @@ jobs:
515
516
apt install -y python3-venv
516
517
python3 -m venv .venv
517
518
519
+ - name : Install test requirements
520
+ run : |
521
+ pip3 install -r requirements-test.txt
522
+ if : matrix.target.dist != 'bookworm' && matrix.target.dist != 'noble'
523
+
518
524
- name : Install test requirements
519
525
run : |
520
526
. .venv/bin/activate
521
527
pip3 install -r requirements-test.txt
528
+ if : matrix.target.dist == 'bookworm' || matrix.target.dist == 'noble'
522
529
523
530
- name : Install the crud module for testing purposes
524
531
run : |
525
- . .venv/bin/activate
526
532
curl -L https://tarantool.io/release/2/installer.sh | bash
527
533
apt install -y tt
528
- pip3 install cmake==3.15.3
529
534
tt rocks install crud
535
+ if : matrix.target.dist != 'bookworm' && matrix.target.dist != 'noble'
536
+
537
+ - name : Install the crud module for testing purposes
538
+ run : |
539
+ . .venv/bin/activate
540
+ curl -L https://tarantool.io/release/3/installer.sh | bash
541
+ apt install -y tt
542
+ tt rocks install crud
543
+ if : matrix.target.dist == 'bookworm' || matrix.target.dist == 'noble'
544
+
545
+ - name : Run tests
546
+ run : |
547
+ make test-pure-install
548
+ if : matrix.target.dist != 'bookworm' && matrix.target.dist != 'noble'
530
549
531
550
- name : Run tests
532
551
run : |
533
552
. .venv/bin/activate
534
- pip3 install pyyaml
553
+ export PYTHONPATH=$PYTHONPATH:/usr/lib/python3.11:/usr/lib/python3.12:/usr/bin:/usr/lib/python3/dist-packages:/usr/lib/python3/dist-packages/tarantool
554
+ export PATH=$PATH:/usr/lib/python3/dist-packages
535
555
make test-pure-install
556
+ if : matrix.target.dist == 'bookworm' || matrix.target.dist == 'noble'
536
557
537
558
publish_deb :
538
559
if : startsWith(github.ref, 'refs/tags')
0 commit comments