Skip to content

Commit

Permalink
sonar_cloud.yml: venv, ensurepip
Browse files Browse the repository at this point in the history
  • Loading branch information
dsparber committed Oct 8, 2024
1 parent bc8f6f6 commit 781d075
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/sonar_cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ jobs:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Install dependencies
run: |
python -m pip install -r requirements.txt --break-system-packages
python -m venv venv
source venv/bin/activate
python -m ensurepip --upgrade
python -m pip install -r requirements.txt
- name: Run Tests
run: |
coverage run -m unittest discover && coverage xml -i
Expand Down

0 comments on commit 781d075

Please sign in to comment.