Skip to content

Commit a0f0df6

Browse files
author
Diptorup Deb
committed
Update github workflow to install coverage with toml support.
- Also update CONTRIBUTING.md.
1 parent 5ce275d commit a0f0df6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/generate-coverage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
- name: Install dpctl dependencies
8080
shell: bash -l {0}
8181
run: |
82-
pip install numpy cython setuptools pytest pytest-cov coverage
82+
pip install numpy cython setuptools pytest pytest-cov coverage[toml]
8383
8484
- name: Build dpctl with coverage
8585
shell: bash -l {0}

CONTRIBUTING.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,10 @@ these steps:
154154
To generate the coverage data for dpctl's Python sources, you only need to
155155
install `coverage`.
156156

157+
```bash
158+
python -m pip install coverage[toml]
159+
```
160+
157161
3. Build dpctl with code coverage support.
158162

159163
```bash

0 commit comments

Comments
 (0)