From a5c303f316c40ad7522ce8330b5d5ae365d8d11f Mon Sep 17 00:00:00 2001 From: Navaneet Villodi <11260095+nauaneed@users.noreply.github.com> Date: Tue, 20 Aug 2024 19:52:04 +0530 Subject: [PATCH] ci: simpler "Install dependencies" and new python --- .github/workflows/tests.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 74219bf..95250f3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -7,7 +7,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: ['3.10', '3.11'] + python-version: ['3.11', '3.12'] env: USE_TRILINOS: 1 @@ -28,9 +28,8 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - python -m pip install --upgrade pip setuptools wheel - python -m pip install numpy 'cython<3.0' - python -m pip install -r requirements.txt - python setup.py develop + pip install --upgrade pip setuptools wheel + pip install "mpi4py<4.0" + pip install -e .[tests] -v --no-build-isolation - name: Run tests run: pytest -v pyzoltan