From cad4317ed2e953b3b0c5dc769a43a268300d9acd Mon Sep 17 00:00:00 2001 From: Vu Tung Date: Tue, 17 Sep 2024 10:40:25 +0700 Subject: [PATCH] Test only major versions of pandas --- .github/workflows/test.yml | 10 +--------- noxfile.py | 6 +----- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index aa15979..898771b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,16 +15,8 @@ jobs: matrix: os: [ubuntu-latest, windows-latest] python-version: ["3.8", "3.9", "3.10", "3.11"] - pandas-version: ["1.3.5", "1.4.4", "1.5.3", "2.0.3", "2.1.4", "2.2.2"] + pandas-version: ["1.5.3", "2.2.2"] exclude: - - python-version: "3.10" - pandas-version: "1.3.5" - - python-version: "3.10" - pandas-version: "1.4.4" - - python-version: "3.8" - pandas-version: "2.0.3" - - python-version: "3.8" - pandas-version: "2.1.4" - python-version: "3.8" pandas-version: "2.2.2" diff --git a/noxfile.py b/noxfile.py index 420915d..e7910ca 100644 --- a/noxfile.py +++ b/noxfile.py @@ -17,11 +17,7 @@ def lint(session): [ (python, pandas) for python in ("3.8", "3.9", "3.10", "3.11") - for pandas in ("1.3.5", "1.4.4", "1.5.3", "2.0.3", "2.1.4", "2.2.2") - if (python, pandas) != ("3.10", "1.3.5") - if (python, pandas) != ("3.10", "1.4.4") - if (python, pandas) != ("3.8", "2.0.3") - if (python, pandas) != ("3.8", "2.1.4") + for pandas in ("1.5.3", "2.2.2") if (python, pandas) != ("3.8", "2.2.2") ], )