Skip to content

ES-223: Implement SubChannelVisibility feature #331

ES-223: Implement SubChannelVisibility feature

ES-223: Implement SubChannelVisibility feature #331

Workflow file for this run

name: Unit test on push and PR
on: [push, pull_request, workflow_dispatch]
jobs:
unit-tests:
name: Run Unit Tests
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11']
exclude:
- os: ubuntu-latest
python-version: '3.6'
env:
OS: ${{ matrix.os }}
PYTHON-VERSION: ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: python -m pip install --upgrade pip
- uses: actions/checkout@v3
- run: python -m pip install .[test,docs]
- run: python -m pytest ./testing/ --cov=idelib --cov-report=xml -n auto
- run: sphinx-build -W -b html docs docs/html
- run: sphinx-build -W -b doctest docs docs/doctest
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
env_vars: OS,PYTHON-VERSION
files: ./coverage.xml
name: ${{ matrix.os }} ${{ matrix.python-version }}
verbose: true