From e32538913cde07454c6f46663f8ccb58aba57e11 Mon Sep 17 00:00:00 2001 From: rchan Date: Thu, 16 Nov 2023 20:46:22 +0000 Subject: [PATCH] attempt to install torch first in ci --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5a3d686..9d78a45 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,8 +52,12 @@ jobs: with: python-version: ${{ matrix.python-version }} + - name: Install torch + run: | + python -m pip install torch==1.9.0 + - name: Install package - run: python -m pip install torch==1.9.0 & python -m pip install .[test] + run: python -m pip install .[test] - name: Test package run: python -m pytest -ra --cov=nlpsig