Skip to content

Commit

Permalink
Shell setting only for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ubmarco committed Dec 14, 2021
1 parent 90fb1fa commit 8a761db
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,18 @@ jobs:
- name: Install poetry and tox
run: |
python -m pip install poetry tox
shell: cmd
- name: Run tox env pytest
run: |
tox -e py${{ join(matrix.python-version, '') }}
if: runner.os == 'Linux' || runner.os == 'macOS'

# set the shell for Windows so env var expansion works in tox and subprocesses
- name: Run tox env pytest
run: |
tox -e py${{ join(matrix.python-version, '') }}
shell: cmd
if: runner.os == 'Windows'

flake8_pylint_docs_black:

Expand Down

0 comments on commit 8a761db

Please sign in to comment.