From f7d518ea5ba788e92bb2bacb0eb9b23d15a1a30f Mon Sep 17 00:00:00 2001 From: Daniel Young Lee Date: Tue, 10 Jun 2025 11:55:29 -0700 Subject: [PATCH 1/2] fix(ci): specify python version in tox environment --- .github/workflows/unit.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index e16d4de8..17050dfd 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -64,4 +64,7 @@ jobs: - name: Install tox run: python -m pip install tox - name: Test - run: python -m tox -e py-${{ matrix.platform }} + run: | + # Remove dots from python version string, i.e. 3.10 -> 310 + PY_VERSION=$(echo "${{ matrix.python }}" | sed 's/\.//g') + python -m tox -e py${PY_VERSION}-${{ matrix.platform }} From 75b7c8450d186ccb1940793b30199a1ca96dc5cd Mon Sep 17 00:00:00 2001 From: Daniel Young Lee Date: Tue, 10 Jun 2025 12:00:29 -0700 Subject: [PATCH 2/2] Enable shell for github workflows. --- .github/workflows/unit.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 17050dfd..32b34fdb 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -64,6 +64,7 @@ jobs: - name: Install tox run: python -m pip install tox - name: Test + shell: bash run: | # Remove dots from python version string, i.e. 3.10 -> 310 PY_VERSION=$(echo "${{ matrix.python }}" | sed 's/\.//g')