Skip to content

Commit

Permalink
ci(workflows): install python project as editable so that coverage ru…
Browse files Browse the repository at this point in the history
…ns properly
  • Loading branch information
arunanshub committed Aug 23, 2024
1 parent 899220c commit 9cccada
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install Python Dependencies 📦
run: pdm install --no-editable
run: pdm install

- name: Check Python Formatting 🖌️
run: pdm run ruff check .
Expand All @@ -78,7 +78,7 @@ jobs:
run: pdm run mypy .

- name: Run Python Tests 🧪
run: pdm run pytest -n auto -d --cov=src/ --cov-report=html --cov-branch --benchmark-disable --benchmark-skip
run: pdm run pytest -n auto -d --cov=src/ --cov-report=lcov --cov-branch --benchmark-disable --benchmark-skip

- name: Upload Coverage Report 📊
uses: coverallsapp/[email protected]
Expand Down

0 comments on commit 9cccada

Please sign in to comment.