Skip to content

Adding more exceptions #34

Adding more exceptions

Adding more exceptions #34

Workflow file for this run

name: Pytest
on:
push:
branches:
- main
paths:
- kz_iin_validator/**
- tests/**
pull_request:
branches:
- main
jobs:
test-py37:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: "3.7.1"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest pytest-cov
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
python3 setup.py install
- name: Test with pytest
run: |
pytest --cov-report xml:coverage.xml --cov=kz_iin_validator -vvs tests/
- name: Upload Coverage report
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml