Skip to content

Update pyproject.toml #548

Update pyproject.toml

Update pyproject.toml #548

name: unit test action
on: [push, pull_request]
env:
PYTHON_VERSION: 3.13.5
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
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