From cbc22ef20cf7326b90a11661931f155f81f700fd Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Fri, 28 Aug 2020 15:56:06 -0700 Subject: [PATCH] Add numpy to the matrix, refs #144 --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 72ce06a..350b07d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,6 +8,7 @@ jobs: strategy: matrix: python-version: [3.6, 3.7, 3.8] + numpy: [0, 1] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} @@ -24,6 +25,9 @@ jobs: - name: Install dependencies run: | pip install -e '.[test]' + - name: Optionally install numpy + if: matrix.numpy == 1 + run: pip install numpy - name: Run tests run: | pytest