Skip to content

Bug fixes

Bug fixes #323

name: unit test action
on: [push, pull_request]
env:
PYTHON_VERSION: 3.8
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install pytest
pip install -e .
- name: show package is importable
run: |
python -c "import financepy as fp"
- name: list dependencies
run: |
pip list
- name: unit tests
run: |
pytest -vv