Skip to content

WIP: pydanticv2

WIP: pydanticv2 #747

Workflow file for this run

name: Codecov
on: [push, pull_request]
jobs:
run:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python: ["3.8","3.9","3.10","3.11"]
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python }}
PYTHONPATH: "."
steps:
- uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: ${{ matrix.python }}
- name: Generate coverage report
run: |
pip install '.[tests]'
pytest --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage/reports/
env_vars: OS,PYTHON
fail_ci_if_error: false
files: ./coverage.xml
flags: unittests
name: codecov-aiopenapi3
path_to_write_report: ./coverage/codecov_report.txt
verbose: true