Skip to content

Commit

Permalink
Fix static checks (#5747)
Browse files Browse the repository at this point in the history
* Fix static checks with the new tox version

Tox version changed default behavior => update conf

* Pin tox version

* try different syntax
  • Loading branch information
fridim authored Dec 12, 2022
1 parent 26ff3e2 commit 734fe68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/static-checks-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ jobs:

- name: Run static checks
run: |
pip install tox
pip install tox==v4.0.8
tox -c tests/static -- ${{ github.base_ref }} ${{ github.sha }}
...
1 change: 1 addition & 0 deletions tests/static/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ skip_missing_interpreters=True
[testenv]
skip_install=True
setenv = TOX_ANSIBLE_INV_PATH = {toxinidir}/tox-inventory.txt
allowlist_externals = */agnosticd/tests/static/syntax-check.sh
deps =
#-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
Expand Down

0 comments on commit 734fe68

Please sign in to comment.