Skip to content

Commit 2482c81

Browse files
committed
Update CI pipeline jobs to install Poetry from PyPI
1 parent 334d4a8 commit 2482c81

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ jobs:
2727
- name: Install required packages
2828
run: |
2929
apt update
30-
apt install -y python3-poetry make
30+
apt install -y make
31+
pip install poetry
3132
- name: Create virtual environment
3233
run: make init
3334
- name: Check code format
@@ -42,7 +43,8 @@ jobs:
4243
- name: Install required packages
4344
run: |
4445
apt update
45-
apt install -y python3-poetry make
46+
apt install -y make
47+
pip install poetry
4648
- name: Create virtual environment
4749
run: make init
4850
- name: Check code import format
@@ -57,7 +59,8 @@ jobs:
5759
- name: Install required packages
5860
run: |
5961
apt update
60-
apt install -y python3-poetry make
62+
apt install -y make
63+
pip install poetry
6164
- name: Create virtual environment
6265
run: make init
6366
- name: Check code style
@@ -72,7 +75,8 @@ jobs:
7275
- name: Install required packages
7376
run: |
7477
apt update
75-
apt install -y python3-poetry make libglib2.0-dev
78+
apt install -y make libglib2.0-dev
79+
pip install poetry
7680
- name: Create virtual environment
7781
run: make init
7882
- name: Check code static typing
@@ -96,7 +100,8 @@ jobs:
96100
- name: Install required packages
97101
run: |
98102
dnf makecache
99-
dnf install -y gcc make poetry python python-pip python3-devel rpm-build systemd-devel which
103+
dnf install -y gcc make python python-pip python3-devel rpm-build systemd-devel which
104+
pip install poetry
100105
- name: Create virtual environment
101106
run: make init
102107
- name: Check versions
@@ -115,7 +120,8 @@ jobs:
115120
- name: Install required packages
116121
run: |
117122
apt update
118-
apt install -y make python3-poetry
123+
apt install -y make
124+
pip install poetry
119125
- name: Create virtual environment
120126
run: make init
121127
- name: Check versions

0 commit comments

Comments
 (0)