summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorDjLegolas <djlegolas@protonmail.com>2022-02-05 23:35:50 +0100
committerCalum Lind <calumlind+deluge@gmail.com>2022-03-02 13:53:29 +0100
commit13be64d3558441e444b57882779e4faaa5842f20 (patch)
tree25540d3332ae0772809a9ce0737236f53dedd8b3 /.github
parent[Tests] Remove reference to Twisted Trial (diff)
downloaddeluge-13be64d3558441e444b57882779e4faaa5842f20.tar.xz
deluge-13be64d3558441e444b57882779e4faaa5842f20.zip
[CI] Changed tested python version to 3.7 and 3.10
We cannot add python 3.6 because there is no precompiled version of it to used. Therefor, will be using 3.7 as the minimum version in CI. In addition, dropped version limits from pytest.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 865ae1969..3373051ff 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -10,6 +10,9 @@ on:
jobs:
test-linux:
runs-on: ubuntu-20.04
+ strategy:
+ matrix:
+ python-version: ["3.7", "3.10"]
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
@@ -20,7 +23,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
- python-version: "3.8"
+ python-version: ${{ matrix.python-version }}
- name: Cache pip
uses: actions/cache@v2
@@ -81,6 +84,9 @@ jobs:
test-windows:
runs-on: windows-latest
+ strategy:
+ matrix:
+ python-version: ["3.7", "3.10"]
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
@@ -91,7 +97,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
- python-version: "3.8"
+ python-version: ${{ matrix.python-version }}
- name: Cache pip
uses: actions/cache@v2