run tests and coverage in workflow

This commit is contained in:
jbannon 2022-04-29 07:11:40 +00:00
parent 653a4f22a9
commit 1fe619aa41

View file

@ -17,7 +17,17 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[lint]
pip install .
- name: Run linters
run: |
pip install .[lint]
./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