Skip to content

Commit

Permalink
python tox
Browse files Browse the repository at this point in the history
  • Loading branch information
mquinnfd committed Jul 12, 2024
1 parent 1cd7714 commit 9729b4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
- name: Install Yarn
run: npm install -g yarn
- name: Run tox tests
run: poetry run tox -e ${{ matrix.tox }}
run: python -m tox -e ${{ matrix.tox }}

lint_typecheck_test_webui:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ allowlist_externals =
make
commands =
poetry install --with test
poetry run python -m unittest discover []
python -m unittest discover []
; Disable these tests for now, because they are breaking. When someone has time they should be converted into regular unit tests
; bash -ec "PYTHONUNBUFFERED=1 timeout 20s python3 examples/rest.py >{temp_dir}/out.txt 2>/{temp_dir}/err.txt || true"
; grep -qm 1 'my custom error message with response text, response was {"args"' {temp_dir}/out.txt
Expand Down

0 comments on commit 9729b4c

Please sign in to comment.