@@ -20,14 +20,14 @@ jobs:
20
20
if : (github.event_name == 'push') ||
21
21
(github.event_name == 'pull_request' &&
22
22
github.event.pull_request.head.repo.full_name != github.repository)
23
- runs-on : ubuntu-20 .04
23
+ runs-on : ubuntu-24 .04
24
24
25
25
strategy :
26
26
fail-fast : false
27
27
28
28
steps :
29
29
- name : Clone the connector repo
30
- uses : actions/checkout@v3
30
+ uses : actions/checkout@v4
31
31
# Checkout all tags for correct version computation.
32
32
with :
33
33
fetch-depth : 0
@@ -65,14 +65,14 @@ jobs:
65
65
if : (github.event_name == 'push') ||
66
66
(github.event_name == 'pull_request' &&
67
67
github.event.pull_request.head.repo.full_name != github.repository)
68
- runs-on : ubuntu-20 .04
68
+ runs-on : ubuntu-24 .04
69
69
70
70
strategy :
71
71
fail-fast : false
72
72
73
73
steps :
74
74
- name : Clone the connector repo
75
- uses : actions/checkout@v3
75
+ uses : actions/checkout@v4
76
76
77
77
- name : Setup Python
78
78
uses : actions/setup-python@v4
83
83
run : python3 .github/scripts/remove_source_code.py
84
84
85
85
- name : Install tarantool
86
- uses : tarantool/setup-tarantool@v2
86
+ uses : tarantool/setup-tarantool@v3
87
87
with :
88
88
tarantool-version : ' 2.11'
89
89
@@ -103,7 +103,8 @@ jobs:
103
103
run : |
104
104
curl -L https://tarantool.io/release/2/installer.sh | bash
105
105
sudo apt install -y tt
106
- tt rocks install crud
106
+ pip3 install cmake==3.15.3
107
+ tt rocks install crud 1.4.2
107
108
108
109
- name : Run tests
109
110
run : make test-pure-install
@@ -127,7 +128,7 @@ jobs:
127
128
128
129
steps :
129
130
- name : Clone the connector repo
130
- uses : actions/checkout@v3
131
+ uses : actions/checkout@v4
131
132
132
133
- name : Setup Python
133
134
uses : actions/setup-python@v4
@@ -188,14 +189,14 @@ jobs:
188
189
- run_tests_pip_package_linux
189
190
- run_tests_pip_package_windows
190
191
191
- runs-on : ubuntu-20 .04
192
+ runs-on : ubuntu-24 .04
192
193
193
194
strategy :
194
195
fail-fast : false
195
196
196
197
steps :
197
198
- name : Clone the connector repo
198
- uses : actions/checkout@v3
199
+ uses : actions/checkout@v4
199
200
200
201
- name : Setup Python and basic packing tools
201
202
uses : actions/setup-python@v4
@@ -226,7 +227,7 @@ jobs:
226
227
if : (github.event_name == 'push') ||
227
228
(github.event_name == 'pull_request' &&
228
229
github.event.pull_request.head.repo.full_name != github.repository)
229
- runs-on : ubuntu-20 .04
230
+ runs-on : ubuntu-24 .04
230
231
231
232
container :
232
233
image : ${{ matrix.target.os }}:${{ matrix.target.dist }}
@@ -250,7 +251,7 @@ jobs:
250
251
run : dnf install -y git
251
252
252
253
- name : Clone the connector repo
253
- uses : actions/checkout@v3
254
+ uses : actions/checkout@v4
254
255
# Checkout all tags for correct version computation.
255
256
with :
256
257
fetch-depth : 0
@@ -293,7 +294,7 @@ jobs:
293
294
if : (github.event_name == 'push') ||
294
295
(github.event_name == 'pull_request' &&
295
296
github.event.pull_request.head.repo.full_name != github.repository)
296
- runs-on : ubuntu-20 .04
297
+ runs-on : ubuntu-24 .04
297
298
298
299
container :
299
300
image : ${{ matrix.target.os }}:${{ matrix.target.dist }}
@@ -312,7 +313,7 @@ jobs:
312
313
313
314
steps :
314
315
- name : Clone the connector repo
315
- uses : actions/checkout@v3
316
+ uses : actions/checkout@v4
316
317
317
318
- name : Setup Python and test running tools
318
319
# cmake rocks fail to install as expected without findutils:
@@ -343,7 +344,8 @@ jobs:
343
344
run : |
344
345
curl -L https://tarantool.io/release/2/installer.sh | bash
345
346
sudo dnf install -y tt
346
- tt rocks install crud
347
+ pip3 install cmake==3.15.3
348
+ tt rocks install crud 1.4.2
347
349
348
350
- name : Run tests
349
351
run : make test-pure-install
@@ -354,7 +356,7 @@ jobs:
354
356
needs :
355
357
- run_tests_rpm
356
358
357
- runs-on : ubuntu-20 .04
359
+ runs-on : ubuntu-24 .04
358
360
359
361
strategy :
360
362
fail-fast : false
@@ -370,7 +372,7 @@ jobs:
370
372
371
373
steps :
372
374
- name : Clone the connector repo
373
- uses : actions/checkout@v3
375
+ uses : actions/checkout@v4
374
376
375
377
- name : Install tools for package publishing
376
378
run : sudo apt install -y curl make
@@ -404,14 +406,14 @@ jobs:
404
406
if : (github.event_name == 'push') ||
405
407
(github.event_name == 'pull_request' &&
406
408
github.event.pull_request.head.repo.full_name != github.repository)
407
- runs-on : ubuntu-20 .04
409
+ runs-on : ubuntu-22 .04
408
410
409
411
strategy :
410
412
fail-fast : false
411
413
412
414
steps :
413
415
- name : Clone the connector repo
414
- uses : actions/checkout@v3
416
+ uses : actions/checkout@v4
415
417
# Checkout all tags for correct version computation
416
418
with :
417
419
fetch-depth : 0
@@ -453,7 +455,7 @@ jobs:
453
455
if : (github.event_name == 'push') ||
454
456
(github.event_name == 'pull_request' &&
455
457
github.event.pull_request.head.repo.full_name != github.repository)
456
- runs-on : ubuntu-20 .04
458
+ runs-on : ubuntu-24 .04
457
459
458
460
container :
459
461
image : ${{ matrix.target.os }}:${{ matrix.target.dist }}
@@ -463,18 +465,18 @@ jobs:
463
465
464
466
matrix :
465
467
target :
468
+ # - os: debian
469
+ # dist: bookworm # 12
466
470
- os : ubuntu
467
471
dist : focal # 20.04
468
472
- os : ubuntu
469
473
dist : jammy # 22.04
470
- - os : debian
471
- dist : buster # 10
472
- - os : debian
473
- dist : bullseye # 11
474
+ # - os: ubuntu
475
+ # dist: noble # 24.04
474
476
475
477
steps :
476
478
- name : Clone the connector repo
477
- uses : actions/checkout@v3
479
+ uses : actions/checkout@v4
478
480
479
481
- name : Prepare apt
480
482
run : apt update
@@ -500,29 +502,49 @@ jobs:
500
502
path : deb_dist
501
503
502
504
- name : Install the package from deb artifacts
505
+ # https://github.com/yktoo/indicator-sound-switcher/issues/113#issuecomment-1243975728
506
+ # apt install zstd
503
507
run : apt install -y `pwd`/deb_dist/python3-tarantool_*.deb
504
508
env :
505
509
DEBIAN_FRONTEND : noninteractive
506
510
507
511
- name : Install test requirements
508
512
run : pip3 install -r requirements-test.txt
513
+ if : matrix.target.os == 'ubuntu'
514
+
515
+ - name : Install test requirements
516
+ run : |
517
+ apt install -y python3.11-venv
518
+ python3 -m venv .venv
519
+ .venv/bin/activate
520
+ pip3 install -r requirements-test.txt
521
+ if : matrix.target.os == 'debian'
509
522
510
523
- name : Install the crud module for testing purposes
511
524
run : |
512
525
curl -L https://tarantool.io/release/2/installer.sh | bash
513
526
apt install -y tt
514
- tt rocks install crud
527
+ pip3 install cmake==3.15.3
528
+ tt rocks install crud 1.4.2
515
529
516
530
- name : Run tests
517
- run : make test-pure-install
531
+ run : |
532
+ make test-pure-install
533
+ if : matrix.target.os == 'ubuntu'
534
+
535
+ - name : Run tests
536
+ run : |
537
+ source .venv/bin/activate
538
+ make test-pure-install
539
+ if : matrix.target.os == 'debian'
518
540
519
541
publish_deb :
520
542
if : startsWith(github.ref, 'refs/tags')
521
543
522
544
needs :
523
545
- run_tests_deb
524
546
525
- runs-on : ubuntu-20 .04
547
+ runs-on : ubuntu-24 .04
526
548
527
549
strategy :
528
550
fail-fast : false
@@ -540,7 +562,7 @@ jobs:
540
562
541
563
steps :
542
564
- name : Clone the connector repo
543
- uses : actions/checkout@v3
565
+ uses : actions/checkout@v4
544
566
545
567
- name : Install tools for package publishing
546
568
run : sudo apt install -y curl make
0 commit comments