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 fbbc28b commit c2b858e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 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 -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"
12 changes: 2 additions & 10 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 git -y
- name: Install additional packages
if: ${{ inputs.packages != ''}}
shell: bash
run: |

Check failure on line 25 in .github/actions/setup-yum/action.yml

View workflow job for this annotation

GitHub Actions / Linting (ubuntu-latest)

Format error

.github/actions/setup-yum/action.yml require to be formatted
${{ 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"
${{ inputs.sudo }} yum install ${{ inputs.packages }} -y

0 comments on commit c2b858e

Please sign in to comment.