Skip to content

Commit

Permalink
fixup simplification of workflow -- no venv whatsoever
Browse files Browse the repository at this point in the history
  • Loading branch information
yarikoptic committed Oct 13, 2023
1 parent e0c457a commit 2a48d14
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,25 +37,25 @@ jobs:
run: |
pwd
ls -l
venv/bin/pip install poetry
venv/bin/poetry config virtualenvs.create false
venv/bin/poetry config virtualenvs.in-project true
venv/bin/poetry env use `which python`
venv/bin/python --version
venv/bin/poetry --version
venv/bin/poetry install
venv/bin/poetry build
pip install poetry
poetry config virtualenvs.create false
poetry config virtualenvs.in-project true
poetry env use `which python`
python --version
poetry --version
poetry install
poetry build
shell: bash

- name: Setup test DB
run: |
> db/db_dev.sqlite3
venv/bin/poetry run setup_db
poetry run setup_db
shell: bash

- name: Run pytest
run: |
venv/bin/poetry run pytest --cov=. --cov-report=xml
poetry run pytest --cov=. --cov-report=xml
shell: bash

- name: Upload coverage reports to Codecov
Expand Down

0 comments on commit 2a48d14

Please sign in to comment.