diff --git a/.github/workflows/usage.yml b/.github/workflows/usage.yml index 4d2cf0f7..c4d2a099 100644 --- a/.github/workflows/usage.yml +++ b/.github/workflows/usage.yml @@ -48,7 +48,7 @@ jobs: python -m pip install git+https://github.com/Volue-Public/energy-mesh-python@${{ github.ref }} python ./repo/src/volue/mesh/examples/get_version.py if ($LASTEXITCODE) { exit $LASTEXITCODE } - python -m pip install pytest pytest-asyncio pandas + python -m pip install pytest pytest-asyncio==0.21.1 pandas python -m pytest --pyargs volue.mesh.tests -m "not authentication and not long" - name: Install Ubuntu 20.04 (wsl1) @@ -73,5 +73,5 @@ jobs: sudo apt-get install --yes python${{ matrix.python-version }}-dev python${{ matrix.python-version }} -m pip install git+https://github.com/Volue-Public/energy-mesh-python@${{ github.ref }} python${{ matrix.python-version }} ./repo/src/volue/mesh/examples/get_version.py - python${{ matrix.python-version }} -m pip install pytest pytest-asyncio pandas + python${{ matrix.python-version }} -m pip install pytest pytest-asyncio==0.21.1 pandas python${{ matrix.python-version }} -m pytest --pyargs volue.mesh.tests -m "not authentication and not long" diff --git a/pyproject.toml b/pyproject.toml index 84d9606c..1aa1e3b1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,7 @@ sphinx-rtd-theme = "^0.5.2" rtd = "^1.2.3" flake8 = "^3.9.2" pytest = "^7.1.2" -pytest-asyncio = "^0.19.0" +pytest-asyncio = "0.21.1" pandas = "^1.3.4" sphinx_copybutton = ">=0.4.0" pylint = "^2.12.2"