Skip to content

Commit 00c3495

Browse files
committed
Revert "string manipulation didn't work on Windows"
This reverts commit 5cbaadd.
1 parent 5cbaadd commit 00c3495

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
- name: Install dependencies
1616
run: pip install tox codecov
1717
- name: Test with tox
18-
run: tox -e py3.7-alldeps,report
18+
run: tox -e py37-alldeps,report
1919
- name: Upload test coverage
2020
run: codecov -t ${{ secrets.CODECOV_TOKEN }} -f .coverage.xml

.github/workflows/tox.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,17 @@ 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 }}
2327
- name: Register Python problem matcher
2428
run: echo "::add-matcher::.github/workflows/matchers/pytest.json"
2529
- name: Install dependencies
2630
run: pip install tox pytest-github-actions-annotate-failures
2731
- name: Test with tox using minimal dependencies
28-
run: tox -e py${{ matrix.python-version }}-mindeps
32+
run: tox -e ${{ env.PY_VERSION }}-mindeps
2933
- name: Clean
3034
run: tox -e clean
3135
- name: Test with tox with all dependencies
32-
run: tox -e py${{ matrix.python-version }}-alldeps
36+
run: tox -e ${{ env.PY_VERSION }}-alldeps

tox.ini

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

55
[pytest]
66
testpaths = adaptive

0 commit comments

Comments
 (0)