Skip to content

Commit

Permalink
fix: poetry codecov runner
Browse files Browse the repository at this point in the history
  • Loading branch information
0xricksanchez committed Sep 12, 2023
1 parent 6273cf0 commit 4468e9a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ jobs:
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: 3.9
python-version: 3.11
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
poetry install
- name: Run tests and collect coverage
run: pytest -v --cov ./
run: poetry run pytest -v --cov ./
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
Expand Down

0 comments on commit 4468e9a

Please sign in to comment.