Skip to content

Commit

Permalink
CI: remove pip dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias J. Kannwischer <[email protected]>
  • Loading branch information
mkannwischer committed Dec 23, 2024
1 parent 6139a11 commit e953919
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
10 changes: 1 addition & 9 deletions .github/actions/setup-apt/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
10 changes: 1 addition & 9 deletions .github/actions/setup-yum/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit e953919

Please sign in to comment.