Skip to content

feat: add retry test inject failure midway in gRPC ReadObject #1251

feat: add retry test inject failure midway in gRPC ReadObject

feat: add retry test inject failure midway in gRPC ReadObject #1251

Workflow file for this run

name: Unit Test CI
on:
push:
branches: [ main ]
pull_request:
jobs:
python-tests:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
name: Unit Tests with Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest pytest-cov
pip install -e .
- name: Run Unit Tests with Coverage
env:
PYTHONPATH: "."
run: |
pytest --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
env_vars: OS,PYTHON
fail_ci_if_error: true
files: ./coverage.xml
flags: unittests
name: codecov-umbrella
verbose: true
windows-tests:
runs-on: windows-2022
strategy:
matrix:
python-version: ["3.11"]
name: Unit Tests On Windows Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest pytest-cov
pip install -e .
- name: Run Unit Tests with Coverage
env:
PYTHONPATH: "."
run: |
pytest --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
env_vars: OS,PYTHON
fail_ci_if_error: true
files: ./coverage.xml
flags: unittests
name: codecov-umbrella
verbose: true