Skip to content

Commit

Permalink
Updated flake8 workflow to use Python venv
Browse files Browse the repository at this point in the history
  • Loading branch information
akenion committed Sep 27, 2024
1 parent 615f58e commit f3ec2a6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/validate-code-styles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- run: sudo apt-get update && sudo apt-get install -y python3-pip
- run: pip3 install flake8 flake8-bugbear
- run: flake8 --require-plugins pycodestyle,flake8-bugbear
- run: sudo apt-get update && sudo apt-get install -y python3-full
- run: python3 -m venv ./python-venv
- run: ./python-venv/bin/pip install flake8 flake8-bugbear
- run: ./python-venv/bin/python -m flake8 --require-plugins pycodestyle,flake8-bugbear

0 comments on commit f3ec2a6

Please sign in to comment.