Skip to content

Commit

Permalink
add optional install of numpy_financial to CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
newville committed May 20, 2024
1 parent 22d9780 commit f84958d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ubuntu_numpy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
with_financial: [0, 1]
with_financial: ["0", "1"]

steps:
- uses: actions/checkout@v4
Expand All @@ -27,9 +27,8 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install setuptools codecov pytest pytest-cov coverage numpy
- if ${{ matrix.with_financial }}
run: |
python -m pip install numpy_financial
- if ${{ matrix.with_financial == "1" }}
run: python -m pip install numpy_financial
- name: Install this package
run: |
python -m pip install .
Expand Down

0 comments on commit f84958d

Please sign in to comment.