From df5a2b594bc284fa1ca15f57caa0a113f673e91a Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Thu, 31 Oct 2024 07:46:03 +0100 Subject: [PATCH] Try to avoid shell in the first place --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1281585..8d4d9c5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,11 +63,11 @@ jobs: - name: Run tests env: - PYTHON: ${{ matrix.python-version }} + PYTHON: ${{ format('py{0}', format(matrix.python-version, '', '.')) }} run: > uvx --with tox-uv tox run --installpkg dist/*.whl - -f py$(echo $PYTHON | tr -d .)-tests + -f $PYTHON-tests - name: Upload coverage data uses: actions/upload-artifact@v4 @@ -83,7 +83,7 @@ jobs: run: > uvx --with tox-uv tox run --installpkg dist/*.whl - -e py$(echo $PYTHON | tr -d .)-mypy + -e $PYTHON-mypy coverage: name: Ensure 100% test coverage