Skip to content

pytest-benchmark fix #557

pytest-benchmark fix

pytest-benchmark fix #557

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