Skip to content

Commit 87f7166

Browse files
committed
string manipulation didn't work on Windows
1 parent b8172c0 commit 87f7166

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.github/workflows/tox.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,13 @@ jobs:
2020
uses: actions/setup-python@v2
2121
with:
2222
python-version: ${{ matrix.python-version }}
23-
- name: Set Python version for tox
24-
run: echo "PY_VERSION=$(echo py${version//./})" >> $GITHUB_ENV
25-
env:
26-
version: ${{ matrix.python-version }}
2723
- name: Register Python problem matcher
2824
run: echo "::add-matcher::.github/workflows/matchers/pytest.json"
2925
- name: Install dependencies
3026
run: pip install tox pytest-github-actions-annotate-failures
3127
- name: Test with tox using minimal dependencies
32-
run: tox -e ${{ env.PY_VERSION }}-mindeps
28+
run: tox -e py${{ matrix.python-version }}-mindeps
3329
- name: Clean
3430
run: tox -e clean
3531
- name: Test with tox with all dependencies
36-
run: tox -e ${{ env.PY_VERSION }}-alldeps
32+
run: tox -e py${{ matrix.python-version }}-alldeps

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
isolated_build = True
3-
envlist = clean,py{36,37,38,39}-{mindeps,alldeps},report
3+
envlist = clean,py{3.6,3.7,3.8,3.9}-{mindeps,alldeps},report
44

55
[pytest]
66
testpaths = adaptive

0 commit comments

Comments
 (0)