Skip to content

Commit

Permalink
GitHub Actions workflows: version-constrain 'tox' to less-than v4 (#702)
Browse files Browse the repository at this point in the history
  • Loading branch information
jayaddison committed Dec 13, 2022
1 parent baf3403 commit d882d1f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linters.yaml
Expand Up @@ -17,5 +17,5 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.x"
- run: pip install tox
- run: pip install "tox<4"
- run: tox -e lint
2 changes: 1 addition & 1 deletion .github/workflows/unittests.yaml
Expand Up @@ -34,7 +34,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: pip install tox
- run: pip install "tox<4"
- run: tox -e ${{ matrix.toxenv }}
# Provide code coverage reports if Linux and last py version
- if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -11,7 +11,7 @@ commands = coverage run -m unittest {posargs}
platform =
py-darwin: darwin
install_command =
py-darwin: python -m pip install --only-binary=lxml {opts} {packages}
py-darwin: python -I -m pip install --only-binary=lxml {opts} {packages}

[testenv:lint]
skip_install = true
Expand Down

0 comments on commit d882d1f

Please sign in to comment.