tests: run on Windows with Python 3.10

pygit2 wheels should be now available.
Had to skip pytest-docker for Windows + Python 3.10 due to
a dependency issue with it's dependency, see:
https://github.com/docker/docker-py/issues/2902.
This commit is contained in:
Saugat Pachhai (सौगात)
2021-11-20 18:52:31 +02:00
committed by Ruslan Kuprieiev
parent cb941a836d
commit 46289182d2
2 changed files with 5 additions and 8 deletions
+3 -7
View File
@@ -29,8 +29,8 @@ jobs:
python-version: 3.8
- name: Install requirements
run: |
pip install wheel
pip install ".[all,tests,terraform]" pre-commit
pip install --upgrade pip setuptools wheel
pip install ".[dev]" pre-commit
- name: install temporary dependencies
run: |
pip install git+https://github.com/isidentical/gdrivefs@service-account
@@ -46,10 +46,6 @@ jobs:
matrix:
os: [ubuntu-20.04, windows-latest, macos-latest]
pyv: ["3.7", "3.8", "3.9.7", "3.10"]
exclude:
# no wheels for pygit2 yet
- os: windows-latest
pyv: "3.10"
steps:
- uses: actions/[email protected]
with:
@@ -74,7 +70,7 @@ jobs:
if: steps.cache.pip-cache-dir.cache-hit != 'true'
run: |
pip install --upgrade pip setuptools wheel
pip install -e ".[all,tests,terraform]"
pip install -e ".[dev]"
- name: install temporary dependencies
run: |
pip install git+https://github.com/isidentical/gdrivefs@service-account
+2 -1
View File
@@ -123,7 +123,8 @@ tests =
pytest-xdist==2.4.0
pytest-mock==3.6.1
pytest-lazy-fixture==0.6.3
pytest-docker==0.10.3
# https://github.com/docker/docker-py/issues/2902
pytest-docker==0.10.3; python_version < '3.10' or sys_platform != 'win32'
flaky==3.7.0
mock==4.0.3
rangehttpserver==1.2.0