run tests and coverage in workflow
This commit is contained in:
parent
653a4f22a9
commit
1fe619aa41
1 changed files with 11 additions and 1 deletions
|
|
@ -17,7 +17,17 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install .[lint]
|
pip install .
|
||||||
- name: Run linters
|
- name: Run linters
|
||||||
run: |
|
run: |
|
||||||
|
pip install .[lint]
|
||||||
./tools/linter check
|
./tools/linter check
|
||||||
|
- name: Run tests with coverage
|
||||||
|
run: |
|
||||||
|
pip install .[test]
|
||||||
|
./tools/test
|
||||||
|
- name: Test Coverage
|
||||||
|
id: html_preview
|
||||||
|
uses: pavi2410/html-preview-action@v2
|
||||||
|
with:
|
||||||
|
html_file: htmlcov/index.html
|
||||||
Loading…
Reference in a new issue