Skip to content

Upgrade package to 0.2.7 #38

Upgrade package to 0.2.7

Upgrade package to 0.2.7 #38

Workflow file for this run

name: Unit Tests
on:
workflow_dispatch:
push:
branches-ignore:
- '**'
pull_request:
branches: [main, dev, stage]
jobs:
UnitTest:
runs-on: ubuntu-latest
env:
DATABASE_NAME: test_database
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests with coverage
run: |
coverage run --source=src -m unittest discover -s tests/unit_tests
coverage xml
- name: Check coverage
run: |
coverage report --fail-under=85