Skip to content

Commit

Permalink
chore: setup for almalinux in GH WF x 6
Browse files Browse the repository at this point in the history
  • Loading branch information
timurbazhirov committed Oct 30, 2024
1 parent 8e34832 commit df0e581
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/python-package-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,17 @@ jobs:
- name: Install pyenv
run: |
curl https://pyenv.run | bash
# Set pyenv environment variables globally for all steps
env:
PYENV_ROOT: ${{ runner.temp }}/.pyenv

- name: Set up pyenv environment variables
- name: Configure pyenv environment variables
run: |
echo "PYENV_ROOT=${{ runner.temp }}/.pyenv" >> $GITHUB_ENV
echo "PATH=${{ runner.temp }}/.pyenv/bin:${{ runner.temp }}/.pyenv/shims:$PATH" >> $GITHUB_ENV
shell: bash

- name: Initialize pyenv for all steps
run: |
echo 'eval "$(pyenv init --path)"' >> $GITHUB_ENV
echo 'eval "$(pyenv init -)"' >> $GITHUB_ENV
Expand Down

0 comments on commit df0e581

Please sign in to comment.