File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1212 - uses : actions/setup-python@v5
1313 with :
1414 python-version : " 3.11"
15- - run : python -m pip install --upgrade pip pytest
16- - run : python -m pytest -q
15+ - name : Install dependencies
16+ run : |
17+ python -m pip install --upgrade pip
18+ python -m pip install -r kll_sketch/requirements-test.txt
19+ - name : Run tests with coverage
20+ run : python -m pytest --cov=kll_sketch --cov-report=term-missing --cov-report=xml kll_sketch/tests
1721 - name : Upload coverage reports to Codecov
1822 uses : codecov/codecov-action@v5
1923 with :
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ test = [
3333]
3434
3535[tool .pytest .ini_options ]
36- addopts = " --strict-config --strict-markers --cov=kll_sketch --cov-report=term-missing"
36+ addopts = " --strict-config --strict-markers --cov=kll_sketch --cov-report=term-missing --cov-report=xml "
3737testpaths = [" kll_sketch/tests" ]
3838filterwarnings = [
3939 " error" ,
You can’t perform that action at this time.
0 commit comments