Skip to content

Commit

Permalink
ci venv error test
Browse files Browse the repository at this point in the history
  • Loading branch information
bhnvx committed Mar 6, 2024
1 parent 15e832b commit eb742c3
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ jobs:

- name: Install dependencies
if: steps.cache-venv.outputs.cache-hit != 'true'
run: poetry install
run: |
poetry config virtualenvs.in-project true
poetry config virtualenvs.path "./.venv"
poetry install
- name: Run Black
run: poetry run black . --check
Expand Down Expand Up @@ -99,10 +102,13 @@ jobs:

- name: Install dependencies
if: steps.cache-venv.outputs.cache-hit != 'true'
run: poetry install
run: |
poetry config virtualenvs.in-project true
poetry config virtualenvs.path "./.venv"
poetry install
- name: Run Pytest
run: |
poetry run coverage run -m pytest --asyncio-mode=auto
poetry run coverage run -m pytest
poetry run coverage report -m
poetry run coverage html

0 comments on commit eb742c3

Please sign in to comment.