From 321497bc6ee16a0d427e1a8a0b732e00f58aec60 Mon Sep 17 00:00:00 2001 From: jo-omoyele Date: Thu, 8 Aug 2024 11:02:36 +0200 Subject: [PATCH] Limit python and numpy versions --- .github/workflows/pytest.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 812ffa0..d9a1169 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -9,6 +9,7 @@ on: push: pull_request: branches: [ master ] +#if [ -f requirements.txt ]; then pip install -r requirements.txt; fi jobs: build: @@ -18,7 +19,7 @@ jobs: matrix: os: ["ubuntu-latest","ubuntu-20.04", "macos-latest","macos-13","macos-12", "windows-latest","windows-2019"] # os: ["ubuntu-latest"] - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.0", "3.1", "3.2", "3.3", "3.4", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v2 @@ -32,7 +33,7 @@ jobs: pip install pytest pip install pytest-cov pip install codecov - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + pip install -r requirements.txt pip install --no-cache-dir -e . - name: Test with pytest