Skip to content

Commit b8ee8a6

Browse files
committed
Update pythonpublish.yml
1 parent 5e313b6 commit b8ee8a6

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/pythonpublish.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,14 @@ jobs:
2525
python -m pip install --upgrade pip
2626
pip install -r requirements.txt
2727
pip install -r dev_requirements.txt
28-
pip install .
28+
pip install -e .
2929
- name: Test with pytest
30-
run: pytest
30+
run: pytest tests --cov=dython --cov-branch --cov-report=xml
31+
- name: Upload coverage artifact
32+
uses: actions/upload-artifact@v4
33+
with:
34+
name: coverage-report
35+
path: coverage.xml
3136

3237
deploy:
3338
needs: test
@@ -54,6 +59,11 @@ jobs:
5459
# needs: deploy
5560
# runs-on: ubuntu-latest
5661
# steps:
62+
# - uses: actions/checkout@v4
63+
# - name: Download coverage artifact
64+
# uses: actions/download-artifact@v4
65+
# with:
66+
# name: coverage-report
5767
# - name: Upload coverage reports to Codecov
5868
# uses: codecov/codecov-action@v5
5969
# with:

0 commit comments

Comments
 (0)