Skip to content

Commit

Permalink
Merge pull request IMAP-Science-Operations-Center#80 from greglucas/c…
Browse files Browse the repository at this point in the history
…odecov

TST: Add coverage to testing pipeline
  • Loading branch information
greglucas authored Aug 30, 2023
2 parents 938307b + 4aca4b0 commit 13a1a2b
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,7 @@ jobs:
id: test
run: |
# Ignore the network marks from the remote test environment
poetry run pytest --color=yes
poetry run pytest --color=yes --cov --cov-report=xml
- name: Upload code coverage
uses: codecov/codecov-action@v3
89 changes: 87 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,15 @@ black = {version="^23.1.0", optional=true}
pre-commit = {version="^3.3.3,<4", optional=true}
pydata-sphinx-theme = {version="*", optional=true}
pytest = {version=">=6.2.5,<7", optional=true}
pytest-cov = {version="^4.0.0", optional=true}
ruff = {version="^0.0.253", optional=true}
sphinx = {version="*", optional=true}
myst-parser = {version="^2.0.0", optional=true}

[tool.poetry.extras]
dev = ["black", "pre-commit", "ruff"]
doc = ["myst-parser", "pydata-sphinx-theme", "sphinx"]
test = ["pytest"]
test = ["pytest", "pytest-cov"]

[project.urls]
homepage = "https://github.com/IMAP-Science-Operations-Center"
Expand Down

0 comments on commit 13a1a2b

Please sign in to comment.