From 3d3caa89555feba3756a3cb6bf466def7a10b7b9 Mon Sep 17 00:00:00 2001 From: Adrien DELSALLE Date: Wed, 20 Oct 2021 11:13:15 +0200 Subject: [PATCH] convert pytest version to str in tests --- .github/workflows/options.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/options.yml b/.github/workflows/options.yml index f15df980..2e9b6185 100644 --- a/.github/workflows/options.yml +++ b/.github/workflows/options.yml @@ -72,12 +72,12 @@ jobs: shell: powershell run: | pytest --version - python -c "import pytest; assert pytest.__version__.startswith(${{ matrix.pytest }})" + python -c "import pytest; assert pytest.__version__.startswith(str(${{ matrix.pytest }}))" if: runner.os == 'Windows' - name: check pytest version in bash shell: bash -l {0} run: | pytest --version - python -c "import pytest; assert pytest.__version__.startswith(${{ matrix.pytest }})" + python -c "import pytest; assert pytest.__version__.startswith(str(${{ matrix.pytest }}))" if: runner.os != 'Windows'