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 e7bd9bc
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,20 @@ jobs:
ubuntu|debian)
apt update
INSTALLER_CMD="apt-get -y --no-install-recommends -q=3 install"
$INSTALLER_CMD libc6
;;
rhel|centos|fedora|rocky)
INSTALLER_CMD="$(command -v dnf || command -v yum) -y --quiet --errorlevel=0 install"
$INSTALLER_CMD glibc
;;
esac
$INSTALLER_CMD python3-pip git
pip3 install pip-tools
$INSTALLER_CMD git
- 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 e7bd9bc

Please sign in to comment.