Skip to content

Commit

Permalink
string manipulation didn't work on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
basnijholt committed Mar 5, 2021
1 parent b8172c0 commit 87f7166
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,13 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Set Python version for tox
run: echo "PY_VERSION=$(echo py${version//./})" >> $GITHUB_ENV
env:
version: ${{ matrix.python-version }}
- name: Register Python problem matcher
run: echo "::add-matcher::.github/workflows/matchers/pytest.json"
- name: Install dependencies
run: pip install tox pytest-github-actions-annotate-failures
- name: Test with tox using minimal dependencies
run: tox -e ${{ env.PY_VERSION }}-mindeps
run: tox -e py${{ matrix.python-version }}-mindeps
- name: Clean
run: tox -e clean
- name: Test with tox with all dependencies
run: tox -e ${{ env.PY_VERSION }}-alldeps
run: tox -e py${{ matrix.python-version }}-alldeps
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
isolated_build = True
envlist = clean,py{36,37,38,39}-{mindeps,alldeps},report
envlist = clean,py{3.6,3.7,3.8,3.9}-{mindeps,alldeps},report

[pytest]
testpaths = adaptive
Expand Down

0 comments on commit 87f7166

Please sign in to comment.