Skip to content

Commit

Permalink
Automatically add pipx apps to PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliottKasoar authored and Elliott Kasoar committed Oct 16, 2024
1 parent a458947 commit fc2b4e1
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,12 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Set path
run: |
echo "/github/home/.local/bin" >> $GITHUB_PATH
rm -rf /github/home/.local
rm -rf /github/home/.cache
- name: Install python dependencies
run: |
python3 -m pip install pipx
pipx install poetry
pipx ensurepath
source ~/.zshrc
poetry env use ${{ matrix.python-version }}
poetry install --with dev
Expand Down

0 comments on commit fc2b4e1

Please sign in to comment.