Skip to content

Commit

Permalink
pipx
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Oct 21, 2024
1 parent 5a6e68e commit ffe8ae1
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ffe8ae1

Please sign in to comment.