Skip to content

Trying out coverage test #1

Trying out coverage test

Trying out coverage test #1

Workflow file for this run

name: Coverage
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- '**'
jobs:
build-and-test:
name: unit-ubuntu
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
strategy:
matrix:
python-version: ['3.11']
steps:
- uses: actions/checkout@v3
- name: Configure Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: setup.py
- name: Install
run: |
python --version
python -m pip install --upgrade pip setuptools wheel
python -m pip install .[dev]
- name: Run unit tests
run: |
coverage -m unittest
coverage report -m --fail-under 100