Skip to content

Commit 37e0bf7

Browse files
authored
fix(ci): specify python version in tox environment (#375)
* fix(ci): specify python version in tox environment * Enable shell for github workflows.
1 parent cc2b9b5 commit 37e0bf7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/unit.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,8 @@ 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+
shell: bash
68+
run: |
69+
# Remove dots from python version string, i.e. 3.10 -> 310
70+
PY_VERSION=$(echo "${{ matrix.python }}" | sed 's/\.//g')
71+
python -m tox -e py${PY_VERSION}-${{ matrix.platform }}

0 commit comments

Comments
 (0)