From 2482c81b38963e8c343aba18f3ff98de87e2ebfd Mon Sep 17 00:00:00 2001 From: Markus Merklinger Date: Wed, 8 Jan 2025 14:29:42 +0100 Subject: [PATCH] Update CI pipeline jobs to install Poetry from PyPI --- .github/workflows/ci.yaml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bd12169c..1d3784db 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -27,7 +27,8 @@ jobs: - name: Install required packages run: | apt update - apt install -y python3-poetry make + apt install -y make + pip install poetry - name: Create virtual environment run: make init - name: Check code format @@ -42,7 +43,8 @@ jobs: - name: Install required packages run: | apt update - apt install -y python3-poetry make + apt install -y make + pip install poetry - name: Create virtual environment run: make init - name: Check code import format @@ -57,7 +59,8 @@ jobs: - name: Install required packages run: | apt update - apt install -y python3-poetry make + apt install -y make + pip install poetry - name: Create virtual environment run: make init - name: Check code style @@ -72,7 +75,8 @@ jobs: - name: Install required packages run: | apt update - apt install -y python3-poetry make libglib2.0-dev + apt install -y make libglib2.0-dev + pip install poetry - name: Create virtual environment run: make init - name: Check code static typing @@ -96,7 +100,8 @@ jobs: - name: Install required packages run: | dnf makecache - dnf install -y gcc make poetry python python-pip python3-devel rpm-build systemd-devel which + dnf install -y gcc make python python-pip python3-devel rpm-build systemd-devel which + pip install poetry - name: Create virtual environment run: make init - name: Check versions @@ -115,7 +120,8 @@ jobs: - name: Install required packages run: | apt update - apt install -y make python3-poetry + apt install -y make + pip install poetry - name: Create virtual environment run: make init - name: Check versions