Skip to content

Commit f7d518e

Browse files
committed
fix(ci): specify python version in tox environment
1 parent cc2b9b5 commit f7d518e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/unit.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,7 @@ jobs:
6464
- name: Install tox
6565
run: python -m pip install tox
6666
- name: Test
67-
run: python -m tox -e py-${{ matrix.platform }}
67+
run: |
68+
# Remove dots from python version string, i.e. 3.10 -> 310
69+
PY_VERSION=$(echo "${{ matrix.python }}" | sed 's/\.//g')
70+
python -m tox -e py${PY_VERSION}-${{ matrix.platform }}

0 commit comments

Comments
 (0)