diff --git a/.github/workflows/test_development_versions.yml b/.github/workflows/test_development_versions.yml index 4d0c58920..cac3d71fb 100644 --- a/.github/workflows/test_development_versions.yml +++ b/.github/workflows/test_development_versions.yml @@ -43,6 +43,6 @@ jobs: - name: Test using tox environment shell: bash run: | - pver=${{ matrix.python-version }} - tox -epy${pver/./} -- --run-slow - tox -epy${pver/./}-notebook + toxpyversion=$(echo ${{ matrix.python-version }} | sed -E 's/^([0-9]+)\.([0-9]+).*$/\1\2/') + tox -epy${toxpyversion} -- --run-slow + tox -epy${toxpyversion}-notebook diff --git a/.github/workflows/test_latest_versions.yml b/.github/workflows/test_latest_versions.yml index 03e079878..a53b1842c 100644 --- a/.github/workflows/test_latest_versions.yml +++ b/.github/workflows/test_latest_versions.yml @@ -44,6 +44,6 @@ jobs: - name: Test using tox environment shell: bash run: | - pver=${{ matrix.python-version }} - tox -epy${pver/./} -- --run-slow - tox -epy${pver/./}-notebook + toxpyversion=$(echo ${{ matrix.python-version }} | sed -E 's/^([0-9]+)\.([0-9]+).*$/\1\2/') + tox -epy${toxpyversion} -- --run-slow + tox -epy${toxpyversion}-notebook diff --git a/.github/workflows/test_minimum_versions.yml b/.github/workflows/test_minimum_versions.yml index f337a42f7..bf454c7c1 100644 --- a/.github/workflows/test_minimum_versions.yml +++ b/.github/workflows/test_minimum_versions.yml @@ -39,6 +39,6 @@ jobs: - name: Test using tox environment shell: bash run: | - pver=${{ matrix.python-version }} - tox -epy${pver/./} -- --run-slow - tox -epy${pver/./}-notebook + toxpyversion=$(echo ${{ matrix.python-version }} | sed -E 's/^([0-9]+)\.([0-9]+).*$/\1\2/') + tox -epy${toxpyversion} -- --run-slow + tox -epy${toxpyversion}-notebook