Skip to content

Commit cee384a

Browse files
committed
code cov
1 parent 3ce6add commit cee384a

8 files changed

Lines changed: 2418 additions & 399 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
branches: [ "master" ]
1111

1212
env:
13-
PROJECT_NAME: diff_classifier
13+
PROJECT_NAME: "diff_classifier"
1414

1515
jobs:
1616
build:
@@ -22,9 +22,9 @@ jobs:
2222
python-version: ["3.9", "3.10", "3.11"]
2323

2424
steps:
25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v4
2626
- name: Set up Python ${{ matrix.python-version }}
27-
uses: actions/setup-python@v3
27+
uses: actions/setup-python@v5
2828
with:
2929
python-version: ${{ matrix.python-version }}
3030
- name: Install dependencies
@@ -43,7 +43,7 @@ jobs:
4343

4444
- name: Test with pytest
4545
run: |
46-
pytest --cov=./ --cov-report=xml
46+
pytest --cov=diff_classifier diff_classifier/tests/
4747
4848
- name: Upload coverage reports to Codecov
4949
uses: codecov/codecov-action@v4.0.1

0 commit comments

Comments
 (0)