Skip to content

Commit

Permalink
Add ci command
Browse files Browse the repository at this point in the history
  • Loading branch information
richfitz committed Jan 2, 2024
1 parent f1ed3f9 commit 7849ce5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
*.pyc
__pycache__
.coverage*
coverage.xml
.idea
/dist
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@ test = "pytest {args:tests}"
test-cov = "coverage run -m pytest {args:tests}"
cov = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=hipercow --cov=tests {args}"
no-cov = "cov --no-cov {args}"
cov-report-xml = [
"- coverage combine",
"coverage xml",
]
cov-ci = [
"test-cov",
"cov-report-xml",
]

[[tool.hatch.envs.test.matrix]]
python = ["37", "38", "39", "310", "311"]
Expand Down

0 comments on commit 7849ce5

Please sign in to comment.