Skip to content

Commit 7f07b4a

Browse files
activate venv directly
1 parent f602800 commit 7f07b4a

File tree

2 files changed

+20
-18
lines changed

2 files changed

+20
-18
lines changed

.github/workflows/packing.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
steps:
2929
- name: Clone the connector repo
30-
uses: actions/checkout@v3
30+
uses: actions/checkout@v4
3131
# Checkout all tags for correct version computation.
3232
with:
3333
fetch-depth: 0
@@ -72,7 +72,7 @@ jobs:
7272

7373
steps:
7474
- name: Clone the connector repo
75-
uses: actions/checkout@v3
75+
uses: actions/checkout@v4
7676

7777
- name: Setup Python
7878
uses: actions/setup-python@v4
@@ -127,7 +127,7 @@ jobs:
127127

128128
steps:
129129
- name: Clone the connector repo
130-
uses: actions/checkout@v3
130+
uses: actions/checkout@v4
131131

132132
- name: Setup Python
133133
uses: actions/setup-python@v4
@@ -195,7 +195,7 @@ jobs:
195195

196196
steps:
197197
- name: Clone the connector repo
198-
uses: actions/checkout@v3
198+
uses: actions/checkout@v4
199199

200200
- name: Setup Python and basic packing tools
201201
uses: actions/setup-python@v4
@@ -250,7 +250,7 @@ jobs:
250250
run: dnf install -y git
251251

252252
- name: Clone the connector repo
253-
uses: actions/checkout@v3
253+
uses: actions/checkout@v4
254254
# Checkout all tags for correct version computation.
255255
with:
256256
fetch-depth: 0
@@ -312,7 +312,7 @@ jobs:
312312

313313
steps:
314314
- name: Clone the connector repo
315-
uses: actions/checkout@v3
315+
uses: actions/checkout@v4
316316

317317
- name: Setup Python and test running tools
318318
# cmake rocks fail to install as expected without findutils:
@@ -370,7 +370,7 @@ jobs:
370370

371371
steps:
372372
- name: Clone the connector repo
373-
uses: actions/checkout@v3
373+
uses: actions/checkout@v4
374374

375375
- name: Install tools for package publishing
376376
run: sudo apt install -y curl make
@@ -411,7 +411,7 @@ jobs:
411411

412412
steps:
413413
- name: Clone the connector repo
414-
uses: actions/checkout@v3
414+
uses: actions/checkout@v4
415415
# Checkout all tags for correct version computation
416416
with:
417417
fetch-depth: 0
@@ -467,12 +467,14 @@ jobs:
467467
dist: focal # 20.04
468468
- os: ubuntu
469469
dist: jammy # 22.04
470+
- os: ubuntu
471+
dist: noble # 24.04
470472
- os: debian
471473
dist: bookworm # 12
472474

473475
steps:
474476
- name: Clone the connector repo
475-
uses: actions/checkout@v3
477+
uses: actions/checkout@v4
476478

477479
- name: Prepare apt
478480
run: apt update
@@ -510,9 +512,9 @@ jobs:
510512

511513
- name: Install test requirements
512514
run: |
513-
apt install -y source python3.11-venv
515+
apt install -y python3.11-venv
514516
python3 -m venv .venv
515-
source .venv/bin/activate
517+
.venv/bin/activate
516518
pip3 install -r requirements-test.txt
517519
if: matrix.target.os == 'debian'
518520

@@ -557,7 +559,7 @@ jobs:
557559

558560
steps:
559561
- name: Clone the connector repo
560-
uses: actions/checkout@v3
562+
uses: actions/checkout@v4
561563

562564
- name: Install tools for package publishing
563565
run: sudo apt install -y curl make

.github/workflows/testing.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555

5656
steps:
5757
- name: Clone the connector
58-
uses: actions/checkout@v3
58+
uses: actions/checkout@v4
5959

6060
- name: Setup tt
6161
run: |
@@ -152,14 +152,14 @@ jobs:
152152
- name: Clone the connector
153153
# `ref` as merge request is needed for pull_request_target because this
154154
# target runs in the context of the base commit of the pull request.
155-
uses: actions/checkout@v3
155+
uses: actions/checkout@v4
156156
if: github.event_name == 'pull_request_target'
157157
with:
158158
ref: refs/pull/${{ github.event.pull_request.number }}/merge
159159

160160
- name: Clone the connector
161161
if: github.event_name != 'pull_request_target'
162-
uses: actions/checkout@v3
162+
uses: actions/checkout@v4
163163

164164
- name: Install Tarantool EE SDK
165165
run: |
@@ -217,7 +217,7 @@ jobs:
217217
- '3.11'
218218
steps:
219219
- name: Clone the connector repo
220-
uses: actions/checkout@v3
220+
uses: actions/checkout@v4
221221

222222
- name: Install tarantool ${{ matrix.tarantool }}
223223
uses: tarantool/setup-tarantool@v3
@@ -270,7 +270,7 @@ jobs:
270270

271271
steps:
272272
- name: Clone the connector
273-
uses: actions/checkout@v3
273+
uses: actions/checkout@v4
274274

275275
- name: Setup Python for tests
276276
uses: actions/setup-python@v4
@@ -338,7 +338,7 @@ jobs:
338338
- '3.11'
339339
steps:
340340
- name: Clone the connector repo
341-
uses: actions/checkout@v3
341+
uses: actions/checkout@v4
342342

343343
- name: Setup Python for tests
344344
uses: actions/setup-python@v4

0 commit comments

Comments
 (0)