From 830e2ab074be279b401c45092cc229d25e49652f Mon Sep 17 00:00:00 2001 From: "Matthias J. Kannwischer" Date: Mon, 23 Dec 2024 15:45:36 +0800 Subject: [PATCH] CI: remove pip dependencies Signed-off-by: Matthias J. Kannwischer --- .github/actions/setup-apt/action.yml | 10 +--------- .github/actions/setup-yum/action.yml | 10 +--------- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/.github/actions/setup-apt/action.yml b/.github/actions/setup-apt/action.yml index a4348deba..c676aee50 100644 --- a/.github/actions/setup-apt/action.yml +++ b/.github/actions/setup-apt/action.yml @@ -22,17 +22,9 @@ runs: - name: Install base packages shell: bash run: | - ${{ inputs.sudo }} apt-get install python3-venv python3-pip make -y + ${{ inputs.sudo }} apt-get install make gcc python3 -y - name: Install additional packages if: ${{ inputs.packages != ''}} shell: bash run: | ${{ inputs.sudo }} apt-get install ${{ inputs.packages }} -y - - name: Setup Python venv - shell: bash - run: | - python3 -m venv venv - source venv/bin/activate - python3 -m pip install -r requirements.txt - deactivate - echo "$(pwd)/venv/bin/" >> "$GITHUB_PATH" diff --git a/.github/actions/setup-yum/action.yml b/.github/actions/setup-yum/action.yml index 16f9c3eda..72f9ccbaf 100644 --- a/.github/actions/setup-yum/action.yml +++ b/.github/actions/setup-yum/action.yml @@ -18,17 +18,9 @@ runs: - name: Install base packages shell: bash run: | - ${{ inputs.sudo }} yum install make git python3-pip -y - ${{ inputs.sudo }} pip3 install virtualenv + ${{ inputs.sudo }} yum install make gcc python3 git -y - name: Install additional packages if: ${{ inputs.packages != ''}} shell: bash run: | ${{ inputs.sudo }} yum install ${{ inputs.packages }} -y - - name: Setup Python venv - shell: bash - run: | - virtualenv venv - source venv/bin/activate - python3 -m pip install -r requirements.txt - echo "$(pwd)/venv/bin/" >> "$GITHUB_PATH"