From 28bbf580f221cec1359ea9e9c73f3451b38ff40f Mon Sep 17 00:00:00 2001 From: Matthew Newville Date: Mon, 20 May 2024 14:33:39 -0500 Subject: [PATCH] add optional install of numpy_financial to CI tests --- .github/workflows/ubuntu_numpy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ubuntu_numpy.yml b/.github/workflows/ubuntu_numpy.yml index 62543c4..7f891df 100644 --- a/.github/workflows/ubuntu_numpy.yml +++ b/.github/workflows/ubuntu_numpy.yml @@ -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 @@ -27,7 +27,7 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install setuptools codecov pytest pytest-cov coverage numpy - - if: ${{ matrix.with_financial == "1" }} + - if: ${{ matrix.with_financial }} run: python -m pip install numpy_financial - name: Install this package run: |