Skip to content

Commit

Permalink
[FIX] fix error in poetry path
Browse files Browse the repository at this point in the history
  • Loading branch information
Lagyamfi committed Oct 18, 2024
1 parent 808b45b commit e30c006
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,15 @@ jobs:
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
source $HOME/.poetry/env
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Configure Poetry to not create virtualenvs
run: poetry config virtualenvs.create false

- name: Install dependencies
run: poetry install
run: poetry install --with test

- name: Run tests
env:
khaya_api_key: ${{ secrets.KHAYA_API_KEY }}
run: poetry run pytest
run: poetry run pytest --cov=khaya

0 comments on commit e30c006

Please sign in to comment.