Skip to content

Commit

Permalink
Build: Move pip installs to Python venv
Browse files Browse the repository at this point in the history
Required due to brew adopting PEP 668
https://github.com/orgs/Homebrew/discussions/3404
  • Loading branch information
mikebeaton committed May 1, 2024
1 parent aed6fc6 commit 770a725
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,14 @@ jobs:

- name: Install Dependencies
run: |
python3 -m venv ~/pyenv
source ~/pyenv/bin/activate
python3 -m pip install gitpython prospector pyyaml requests
- name: Run prospector
run: python3 -m prospector . -P ./prospector/profile.yml > prospector_result.txt || exit 1
run: |
source ~/pyenv/bin/activate
python3 -m prospector . -P ./prospector/profile.yml > prospector_result.txt || exit 1
- name: Upload prospector result to Artifacts
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 770a725

Please sign in to comment.