Skip to content

Commit

Permalink
feat: setup python env manually
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulKalho committed Oct 16, 2024
1 parent 42ff870 commit 83c6226
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,18 @@ jobs:
uses: actions/setup-python@v5
with:
cache: 'pip'


- name: Install dependencies
run: |
python -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install flake8
- name: Run flake8
uses: py-actions/flake8@v2
with:
exclude: "core/alembic/versions/"
path: "core"
run: |
source venv/bin/activate
flake8 --exclude=core/alembic/versions/ core
build:
name: Build docker image
Expand Down

0 comments on commit 83c6226

Please sign in to comment.