From cfce97350ba8d0bfce8a624c09a49ee4509e9e84 Mon Sep 17 00:00:00 2001 From: Jonathan de Bruin Date: Thu, 26 Oct 2023 11:32:07 +0200 Subject: [PATCH 1/3] Run Actions in parallel and smaller python version matrix --- .github/workflows/python-package.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index c9af119..08d4482 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.12"] steps: - uses: actions/checkout@v4 @@ -20,7 +20,7 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install . - python -m pip install pytest + python -m pip install pytest pytest-xdist - name: Test with pytest run: | - pytest + pytest -n 4 From 3f8fc3062959747bbde0e27634b4ea51b5351340 Mon Sep 17 00:00:00 2001 From: Jonathan de Bruin Date: Thu, 26 Oct 2023 11:35:42 +0200 Subject: [PATCH 2/3] Bump minimal Python version in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fbe634f..496009f 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ We aim to cover the entire API, and we are looking for help. We are welcoming Pu ## Installation -PyAlex requires Python 3.6 or later. +PyAlex requires Python 3.8 or later. ```sh pip install pyalex From 623dfa02af37e0086f4a896fc9e1ead01a001373 Mon Sep 17 00:00:00 2001 From: Jonathan de Bruin Date: Mon, 30 Oct 2023 13:43:42 +0100 Subject: [PATCH 3/3] Update .github/workflows/python-package.yml --- .github/workflows/python-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 08d4482..3ace596 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -23,4 +23,4 @@ jobs: python -m pip install pytest pytest-xdist - name: Test with pytest run: | - pytest -n 4 + pytest -n 2