From ffe8ae1cc149d129e4c4989280e0330bd202bd65 Mon Sep 17 00:00:00 2001 From: github-actions Date: Mon, 21 Oct 2024 10:39:48 -0400 Subject: [PATCH] pipx --- .github/workflows/tests.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 83067d9ca..65fb21e82 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -70,16 +70,18 @@ jobs: run: | if [ -f /etc/debian_version ]; then apt-get update - apt-get install -y python3 python3-pip python3-poetry + apt-get install -y python3 python3-pip pipx elif [ -f /etc/arch-release ]; then - pacman -Syu --noconfirm python python-pip poetry + pacman -Syu --noconfirm python python-pip pipx elif [ -f /etc/fedora-release ]; then - dnf install -y python3 python3-pip poetry + dnf install -y python3 python3-pip pipx elif [ -f /etc/gentoo-release ]; then - emerge --update --newuse dev-python/poetry + emerge --update --newuse dev-lang/python dev-python/pipx elif [ -f /etc/alpine-release ]; then - apk add --no-cache python3 py3-pip py3-poetry + apk add --no-cache python3 py3-pip py3-pipx fi + python3 -m pipx ensurepath + pipx install poetry - name: Install dependencies run: | poetry install