Skip to content

Commit

Permalink
Add code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
yeger00 committed Dec 14, 2023
1 parent acc5105 commit 92c6d6b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/test-pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,9 @@ jobs:
run: make lint

- name: test
run: make test
run: PYTEST_FLAGS='--cov-report json --cov-report term --cov=pylspclient --cov-branch' make test

- name: upload coverage
uses: actions/upload-artifact@v2
name: coverage
path: ./dist
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ optional = true
[tool.poetry.group.tests.dependencies]
ruff = "^0.1.6"
pytest = "^7.4.0"
pytest-cov = "^4.1.0"
python-lsp-server = "^1.9.0"

[tool.poetry.group.dev]
Expand Down

0 comments on commit 92c6d6b

Please sign in to comment.