Skip to content

Commit

Permalink
Applying latest changes from aieng-template [2], merging client endpo…
Browse files Browse the repository at this point in the history
…int file
  • Loading branch information
lotif committed Feb 22, 2024
1 parent a17fa0e commit 5ac3972
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/static_code_checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Install poetry
run: python3 -m pip install --upgrade pip && python3 -m pip install poetry
- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
- uses: actions/[email protected]
with:
python-version: '3.9'
cache: 'poetry'
- name: Install dependencies and check code
run: |
poetry env use '3.9'
source $(poetry env info --path)/bin/activate
source .venv/bin/activate
poetry install --with test --all-extras
pre-commit run --all-files
- name: pip-audit (gh-action-pip-audit)
uses: pypa/[email protected]
with:
virtual-environment: $(poetry env info --path)/
virtual-environment: .venv/

0 comments on commit 5ac3972

Please sign in to comment.