add coverage

This commit is contained in:
shahules786 2022-10-06 11:40:28 +05:30
parent 9b3359d3ec
commit eb7d09f375
1 changed files with 4 additions and 4 deletions

View File

@ -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/