Skip to content

Commit

Permalink
Improve pip-tools installation in update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
electrocucaracha committed Jan 22, 2025
1 parent d143b7b commit 0e4d7e5
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,19 @@ jobs:
case ${ID,,} in
ubuntu|debian)
apt update
INSTALLER_CMD="apt-get -y --no-install-recommends -q=3 install"
INSTALLER_CMD="apt-get -y --no-install-recommends -q=3 install libc6-dev git"
;;
rhel|centos|fedora|rocky)
INSTALLER_CMD="$(command -v dnf || command -v yum) -y --quiet --errorlevel=0 install"
INSTALLER_CMD="$(command -v dnf || command -v yum) -y --quiet --errorlevel=0 install glibc-devel git"
;;
esac
$INSTALLER_CMD python3-pip git
pip3 install pip-tools
$INSTALLER_CMD
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # 5.3.0
with:
python-version: "3.9.21" # NOTE: https://www.python.org/downloads/ https://docs.openstack.org/tempest/latest/supported_version.html#supported-python-versions
- uses: insightsengineering/pip-action@9252b12ade07a9e628ab42b90565beaa56e8b85c # 2.0.1
with:
packages: pip-tools
- uses: technote-space/create-pr-action@91114507cf92349bec0a9a501c2edf1635427bc5 # 2.1.4
with:
EXECUTE_COMMANDS: |
Expand Down

0 comments on commit 0e4d7e5

Please sign in to comment.