Browse Source

Fix tavern for Python 3.6 and run tests on Python 3.10 (Linux-only)

pull/1966/head
Safihre 4 years ago
parent
commit
c762dda1b1
  1. 9
      .github/workflows/integration_testing.yml
  2. 3
      tests/requirements.txt

9
.github/workflows/integration_testing.yml

@ -9,15 +9,16 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
os: [ubuntu-20.04]
include:
# TODO: Update to 3.10 when all packages are available, currently lxml is missing
- name: macOS
os: macos-latest
python-version: 3.9
python-version: "3.9"
- name: Windows
os: windows-latest
python-version: 3.9
python-version: "3.9"
steps:
- uses: actions/checkout@v2
@ -31,7 +32,7 @@ jobs:
- name: Install Python dependencies
run: |
python --version
pip install --upgrade pip
pip install --upgrade pip wheel
pip install --upgrade -r requirements.txt
pip install --upgrade -r tests/requirements.txt
- name: Test SABnzbd

3
tests/requirements.txt

@ -7,6 +7,7 @@ pytest-httpbin
pytest-httpserver
flaky
xmltodict
tavern
tavern<1.16.2; python_version == '3.6'
tavern; python_version > '3.6'
tavalidate
lxml>=4.5.0 # needed by tavalidate

Loading…
Cancel
Save