add coverage
This commit is contained in:
parent
9b3359d3ec
commit
eb7d09f375
|
|
@ -18,7 +18,7 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v1.1.1
|
uses: actions/setup-python@v1.1.1
|
||||||
env :
|
env :
|
||||||
ACTIONS_ALLOW_UNSECURE_COMMANDS : true
|
ACTIONS_ALLOW_UNSECURE_COMMANDS : true
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
@ -38,12 +38,12 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
pip install black flake8 pytest
|
pip install black flake8 pytest-cov
|
||||||
- name: Run black
|
- name: Run black
|
||||||
run:
|
run:
|
||||||
black --check .
|
black --check .
|
||||||
- name: Run flake8
|
- name: Run flake8
|
||||||
run: flake8
|
run: flake8
|
||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
run:
|
run:
|
||||||
pytest tests
|
pytest tests --cov=enhancer/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue