Skip to content

Bump coverage from 6.2 to 7.2.7 #782

Bump coverage from 6.2 to 7.2.7

Bump coverage from 6.2 to 7.2.7 #782

Workflow file for this run

---
name: Continuous Integration
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:
linting:
name: Linting
runs-on: ubuntu-latest
steps:
- name: Checking out code from GitHub
uses: actions/checkout@v2.4.0
- name: Set up Python 3.8
uses: actions/setup-python@v2.3.1
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -r requirements_test.txt
pip install -r requirements.txt
pip install pre-commit
pip list
pre-commit --version
- name: Run pre-commit on all files
run: |
pre-commit run --all-files --show-diff-on-failure
test:
name: Python ${{ matrix.python }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}-latest
strategy:
matrix:
os: [ubuntu]
python: [3.7, 3.8]
steps:
- name: Checking out code from GitHub
uses: actions/checkout@v2.4.0
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2.3.1
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -r requirements_test.txt
pip install -r requirements.txt
pip list
- name: Pytest with coverage reporting
run: pytest --cov=aiomodernforms --cov-report=xml
- name: Upload coverage to Codecov
if: matrix.python == 3.8 && matrix.os == 'ubuntu'
uses: codecov/codecov-action@v3.1.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
flags: unittests
name: codecov-umbrella