Skip to content

naive first implementation of a backwards-compat layer #1170

naive first implementation of a backwards-compat layer

naive first implementation of a backwards-compat layer #1170

Workflow file for this run

name: Unittest pipeline
on:
workflow_dispatch:
push:
pull_request:
branches: [ dev ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python_version: [3.7, 3.8, 3.9, "3.10", "3.11"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python_version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python_version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest-cov
python -m pip install -U -e .[dev]
- name: Test with pytest
run: |
pytest --cache-clear --cov=./azure --cov-report=xml --cov-branch tests
- name: Codecov
if: ${{ matrix.python-version }} == 3.9
uses: codecov/codecov-action@v2
with:
file: ./coverage.xml
flags: unittests
name: codecov
fail_ci_if_error: false